diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-11-14 15:06:06 +0000 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2024-01-30 17:30:11 +0000 |
commit | 3e006dbfacd06e12818d97ae5aab1960324b27f9 (patch) | |
tree | 73337291c3dd372e11b0ebf03ceabe23c6cc4030 /test/Feature/SeedConcretizeExternalCall.c | |
parent | 3f65d6e9e41b5a5b458fb4642d8ac5bf684f3bc7 (diff) | |
download | klee-3e006dbfacd06e12818d97ae5aab1960324b27f9.tar.gz |
Add checks to the seed concretization tests about the expected number of queries
Diffstat (limited to 'test/Feature/SeedConcretizeExternalCall.c')
-rw-r--r-- | test/Feature/SeedConcretizeExternalCall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Feature/SeedConcretizeExternalCall.c b/test/Feature/SeedConcretizeExternalCall.c index 7eb69698..afc7fb6a 100644 --- a/test/Feature/SeedConcretizeExternalCall.c +++ b/test/Feature/SeedConcretizeExternalCall.c @@ -6,6 +6,7 @@ // RUN: rm -rf %t.klee-out-2 // RUN: %klee --external-calls=all --exit-on-error --output-dir=%t.klee-out-2 --seed-file %t.klee-out/test000001.ktest %t.bc +// RUN: %klee-stats --print-columns 'SolverQueries' --table-format=csv %t.klee-out-2 | FileCheck --check-prefix=CHECK-STATS %s #include "klee/klee.h" @@ -22,4 +23,7 @@ int main() { int x; klee_make_symbolic(&x, sizeof(x), "x"); assert(abs(x) == 12345678); + + // CHECK-STATS: 0 + // No queries, but this will change once https://github.com/klee/klee/pull/1520 is merged } |