From d9106f3538d1e6aca681f3904adae41ab4809947 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Tue, 5 Apr 2016 13:59:00 +0100 Subject: [PATCH] Makes basic-build-test.sh tests more consistent This contains two fixes: * CFLAGS symbol wasn't being exported so wasn't being used in the build * Absence of a clean build meant the build could be made with existing object code that may not have code coverage instrumentation --- tests/scripts/basic-build-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/basic-build-test.sh b/tests/scripts/basic-build-test.sh index 06c2eb9bd..f1b36c379 100755 --- a/tests/scripts/basic-build-test.sh +++ b/tests/scripts/basic-build-test.sh @@ -36,7 +36,8 @@ fi # Step 1 - Make and instrumented build for code coverage -CFLAGS=' --coverage -g3 -O0 ' +export CFLAGS=' --coverage -g3 -O0 ' +make clean make