diff options
author | Frank Busse <bb0xfb@gmail.com> | 2021-03-21 21:49:30 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2021-05-04 14:58:19 +0100 |
commit | 74ed0f5aa1b2b7fb1b42fa90ac0d7b3b4e0df85f (patch) | |
tree | a307bbfa3faf81f6702282082e92c762a3b18384 /test | |
parent | 78026968b7ee1abd97f39227ab7494a898c0d287 (diff) | |
download | klee-74ed0f5aa1b2b7fb1b42fa90ac0d7b3b4e0df85f.tar.gz |
tests: adjust to new summary output
Diffstat (limited to 'test')
-rw-r--r-- | test/CXX/symex/libc++/uncaught_exception.cpp | 3 | ||||
-rw-r--r-- | test/Feature/SilentKleeAssume.c | 3 | ||||
-rw-r--r-- | test/Feature/consecutive_divide_by_zero.c | 3 | ||||
-rw-r--r-- | test/Feature/srem.c | 3 | ||||
-rw-r--r-- | test/Intrinsics/Missing.ll | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/test/CXX/symex/libc++/uncaught_exception.cpp b/test/CXX/symex/libc++/uncaught_exception.cpp index 3cb54bc3..848013a0 100644 --- a/test/CXX/symex/libc++/uncaught_exception.cpp +++ b/test/CXX/symex/libc++/uncaught_exception.cpp @@ -11,4 +11,5 @@ int main() { } // CHECK: KLEE: ERROR: -// CHECK: KLEE: done: completed paths = 1 +// CHECK: KLEE: done: completed paths = 0 +// CHECK: KLEE: done: partially completed paths = 1 diff --git a/test/Feature/SilentKleeAssume.c b/test/Feature/SilentKleeAssume.c index b9229d2e..06872e9b 100644 --- a/test/Feature/SilentKleeAssume.c +++ b/test/Feature/SilentKleeAssume.c @@ -26,5 +26,6 @@ int main() { // CHECK-SILENT-KLEE-ASSUME: KLEE: output directory is "{{.+}}" // CHECK-SILENT-KLEE-ASSUME: KLEE: done: total instructions = {{[0-9]+}} -// CHECK-SILENT-KLEE-ASSUME: KLEE: done: completed paths = 2 +// CHECK-SILENT-KLEE-ASSUME: KLEE: done: completed paths = 1 +// CHECK-SILENT-KLEE-ASSUME: KLEE: done: partially completed paths = 1 // CHECK-SILENT-KLEE-ASSUME: KLEE: done: generated tests = 1 diff --git a/test/Feature/consecutive_divide_by_zero.c b/test/Feature/consecutive_divide_by_zero.c index c2f5e152..0915bbaa 100644 --- a/test/Feature/consecutive_divide_by_zero.c +++ b/test/Feature/consecutive_divide_by_zero.c @@ -25,7 +25,8 @@ int main() { // CHECK: consecutive_divide_by_zero.c:[[@LINE+1]]: divide by zero unsigned int result2 = b / d2; - // CHECK: completed paths = 3 + // CHECK: completed paths = 1 + // CHECK: partially completed paths = 2 // CHECK: generated tests = 3 return 0; } diff --git a/test/Feature/srem.c b/test/Feature/srem.c index 1303ac63..65b324d3 100644 --- a/test/Feature/srem.c +++ b/test/Feature/srem.c @@ -39,5 +39,6 @@ int main(int argc, char** argv) // CHECK: srem.c:[[@LINE+1]]: ASSERTION FAIL assert(-1 % y == -1); - // CHECK: KLEE: done: completed paths = 5 + // CHECK: KLEE: done: completed paths = 2 + // CHECK: KLEE: done: partially completed paths = 3 } diff --git a/test/Intrinsics/Missing.ll b/test/Intrinsics/Missing.ll index c628b952..ed8dbe40 100644 --- a/test/Intrinsics/Missing.ll +++ b/test/Intrinsics/Missing.ll @@ -11,7 +11,8 @@ ; CHECK: KLEE: WARNING: unimplemented intrinsic: llvm.minnum.f32 ; Check that Executor explores all paths -; CHECK: KLEE: done: completed paths = 3 +; CHECK: KLEE: done: completed paths = 1 +; CHECK: KLEE: done: partially completed paths = 2 ; CHECK: KLEE: done: generated tests = 2 |