From 13caee29ac64f3ff24dbf4908e737ec7bcafb53a Mon Sep 17 00:00:00 2001 From: Joseph Morrow Date: Thu, 9 Apr 2015 12:22:06 -0400 Subject: [PATCH] Cleaning previous debug build before running Unit Tests to rebuild debug. By doing this, it will cause a trigger to rebuild the appropriate modules of the stack's logging. This will make it so that when the Unit Tests are ran, that all logging will actually be off. Until now, the Unit Tests were re-using the binaries from the last debug build without re- triggering a rebuild to remove the logging symbols from the CA and RI Layers. We need the Unit Tests to run with debug symbols to fully enable the Valgrind pluging on the Jenkins CI System. Change-Id: I117f583a18be0f8dd9c9f2c52b30b61ceb34ed70 Signed-off-by: Joseph Morrow Reviewed-on: https://gerrit.iotivity.org/gerrit/687 Tested-by: jenkins-iotivity Reviewed-by: Erich Keane --- auto_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto_build.sh b/auto_build.sh index 8ec37e0..b82b033 100755 --- a/auto_build.sh +++ b/auto_build.sh @@ -102,6 +102,8 @@ fi export SCONSFLAGS="-Q -j 8" build $1 $2 true build $1 $2 false +scons resource RELEASE=false -c +scons resource LOGGING=false RELEASE=false scons resource TEST=1 RELEASE=false echo "===================== done =====================" -- 2.7.4