diff options
-rw-r--r-- | test/Feature/KleeStats.c | 2 | ||||
-rw-r--r-- | test/lit.cfg | 3 | ||||
-rw-r--r-- | test/regression/2017-03-23-early-exit-log-stats.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/test/Feature/KleeStats.c b/test/Feature/KleeStats.c index 48305358..4bff2f40 100644 --- a/test/Feature/KleeStats.c +++ b/test/Feature/KleeStats.c @@ -1,7 +1,7 @@ // RUN: %clang %s -emit-llvm -g %O0opt -c -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out %t.bc 2> %t.log -// RUN: klee-stats --print-more %t.klee-out > %t.stats +// RUN: %klee-stats --print-more %t.klee-out > %t.stats // RUN: FileCheck -check-prefix=CHECK-STATS -input-file=%t.stats %s #include "klee/klee.h" #include <stdlib.h> diff --git a/test/lit.cfg b/test/lit.cfg index 47d1e734..c1003e70 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -23,7 +23,7 @@ config.test_format = lit.formats.ShTest(execute_external=False) # suffixes: A list of file extensions to treat as test files # Note this can be overridden by lit.local.cfg files -config.suffixes = ['.ll', '.c', '.cpp', '.kquery'] +config.suffixes = ['.ll', '.c', '.cpp', '.kquery', '.test'] # test_source_root: The root path where tests are located. config.test_source_root = os.path.dirname(__file__) @@ -131,6 +131,7 @@ if len(kleaver_extra_params) != 0: # to come first, e.g., klee-replay should come before klee subs = [ ('%kleaver', 'kleaver', kleaver_extra_params), ('%klee-replay', 'klee-replay', ''), + ('%klee-stats', 'klee-stats', ''), ('%klee-zesti', 'klee-zesti', ''), ('%klee','klee', klee_extra_params), ('%ktest-tool', 'ktest-tool', ''), diff --git a/test/regression/2017-03-23-early-exit-log-stats.c b/test/regression/2017-03-23-early-exit-log-stats.c index 6fb3d023..892e1d9e 100644 --- a/test/regression/2017-03-23-early-exit-log-stats.c +++ b/test/regression/2017-03-23-early-exit-log-stats.c @@ -2,7 +2,7 @@ // RUN: rm -rf %t.klee-out // Delay writing instructions so that we ensure on exit that flush happens // RUN: not %klee --output-dir=%t.klee-out -exit-on-error -stats-write-interval=0 -stats-write-after-instructions=999999 -stats-commit-after=1 %t.bc 2> %t.log -// RUN: klee-stats --to-csv %t.klee-out > %t.stats.csv +// RUN: %klee-stats --to-csv %t.klee-out > %t.stats.csv // RUN: FileCheck -check-prefix=CHECK-KLEE -input-file=%t.log %s // RUN: FileCheck -check-prefix=CHECK-STATS -input-file=%t.stats.csv %s #include "klee/klee.h" |