diff options
author | Daniel Dunbar <daniel@zuster.org> | 2014-09-12 18:26:32 -0700 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2014-09-12 18:26:32 -0700 |
commit | f093572ff2dd5d52787fa5be578f975eadf41dd3 (patch) | |
tree | f399cf8a4b00a66044b661f87dbad29988b1ded8 /test/Makefile | |
parent | f3c83eaa5506da9776c24416faba4c45a622a1ef (diff) | |
download | klee-f093572ff2dd5d52787fa5be578f975eadf41dd3.tar.gz |
[tests] Run 'make clean' prior to starting tests.
- This ensures any stray klee-last files won't be picked up by my check to prevent people from adding tests that don't use --output-dir.
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index bfdeb16d..6372d512 100644 --- a/test/Makefile +++ b/test/Makefile @@ -47,9 +47,10 @@ endif LIT_ALL_TESTSUITES := $(LIT_TESTSUITE) check-local:: lit.site.cfg + $(Verb) $(MAKE) -s clean $(Verb) ( $(ULIMIT) \ $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) ) - @klee_last_path=$$(find . -name klee-last | head -1); \ + $(Verb) klee_last_path=$$(find . -name klee-last | head -1); \ if [ ! -z "$$klee_last_path" ]; then \ echo "error: one of the tests failed to use --output-dir, found: $$klee_last_path"; \ exit 1; \ |