From 9dc94bf1f28eb64b2c02172c47b175c75757699f Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Sun, 14 Sep 2014 14:04:24 +0100 Subject: Fix when we decide to "not exit on command error". We were doing this too late so if the unittests failed the lit tests would not run. --- .travis/klee.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/klee.sh b/.travis/klee.sh index 266f8fce..9d96f6a2 100755 --- a/.travis/klee.sh +++ b/.travis/klee.sh @@ -67,6 +67,7 @@ ${KLEE_SRC}/configure --with-llvmsrc=/usr/lib/llvm-${LLVM_VERSION}/build \ ############################################################################### # Testing ############################################################################### +set +e # We want to let all the tests run before we exit ############################################################################### # Unit tests @@ -77,7 +78,6 @@ svn export http://llvm.org/svn/llvm-project/llvm/branches/${SVN_BRANCH}/unittes ../Makefile.unittest sudo mv ../Makefile.unittest /usr/lib/llvm-${LLVM_VERSION}/build/unittests/ - make unittests \ DISABLE_ASSERTIONS=${DISABLE_ASSERTIONS} \ ENABLE_OPTIMIZED=${ENABLE_OPTIMIZED} \ -- cgit 1.4.1