diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-10-28 19:22:26 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-10-29 02:33:05 +0100 |
commit | 6ae7e08c5211fc01155295df4f706dad1836cb80 (patch) | |
tree | ff900f9b143da33aba062f5d702bc34518a4badf /scripts | |
parent | 3c1889fbd0d7b96aae16f3479ac8aae70a7e15f7 (diff) | |
download | biboumi-6ae7e08c5211fc01155295df4f706dad1836cb80.tar.gz biboumi-6ae7e08c5211fc01155295df4f706dad1836cb80.tar.bz2 biboumi-6ae7e08c5211fc01155295df4f706dad1836cb80.tar.xz biboumi-6ae7e08c5211fc01155295df4f706dad1836cb80.zip |
Add code coverage support
make coverage runs the test_suite and generates a report
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build_and_run_tests.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build_and_run_tests.sh b/scripts/build_and_run_tests.sh index 738ef52..43d32c1 100755 --- a/scripts/build_and_run_tests.sh +++ b/scripts/build_and_run_tests.sh @@ -2,6 +2,7 @@ set -e -x -cmake .. $@ +cmake .. -DCMAKE_BUILD_TYPE=Debug $@ make -j$(nproc) biboumi test_suite make -j$(nproc) check +make -j$(nproc) coverage |