From 6ae7e08c5211fc01155295df4f706dad1836cb80 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 28 Oct 2015 19:22:26 +0100 Subject: Add code coverage support make coverage runs the test_suite and generates a report --- scripts/build_and_run_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3