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/SeedConcretizeExtendFP.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/SeedConcretizeExtendFP.c')
-rw-r--r-- | test/Feature/SeedConcretizeExtendFP.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Feature/SeedConcretizeExtendFP.c b/test/Feature/SeedConcretizeExtendFP.c index 6a8de589..3ecd3bc3 100644 --- a/test/Feature/SeedConcretizeExtendFP.c +++ b/test/Feature/SeedConcretizeExtendFP.c @@ -8,6 +8,7 @@ // RUN: rm -rf %t.klee-out-2 // RUN: %klee --exit-on-error --output-dir=%t.klee-out-2 --seed-file %t.klee-out/test000001.ktest --allow-seed-extension %t.bc 2>&1 | FileCheck %s +// RUN: %klee-stats --print-columns 'SolverQueries' --table-format=csv %t.klee-out-2 | FileCheck --check-prefix=CHECK-STATS %s #include "klee/klee.h" @@ -30,4 +31,7 @@ int main() { // CHECK: concretizing (reason: floating point) assert((unsigned) d < 5001); } + + // CHECK-STATS: 3 + // These is similar to SeedConcretizeFP.c (1 query) plus the extra queries due to an incomplete seed } |