diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2009-05-23 02:42:09 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2009-05-23 02:42:09 +0000 |
commit | 266cc79f26aa8df4718f2309808f77a5426f266c (patch) | |
tree | 640584c9eec64bb834a5452ff908145e4c5c8362 /test | |
parent | ac6570f762e6520a4458d53963beb5bd4578a2f0 (diff) | |
download | klee-266cc79f26aa8df4718f2309808f77a5426f266c.tar.gz |
Changed bout to ktest. Kept "BOUT\n" as the header of test files, for backward compatibility. Also changed KLEE_RUNTEST to KTEST_FILE. Updated tutorial-1.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/DumpStatesOnHalt.c | 2 | ||||
-rw-r--r-- | test/Feature/InAndOutOfBounds.c | 2 | ||||
-rw-r--r-- | test/Feature/LowerSwitch.c | 4 | ||||
-rw-r--r-- | test/Feature/MultipleFreeResolution.c | 2 | ||||
-rw-r--r-- | test/Feature/NamedSeedMatching.c | 6 | ||||
-rw-r--r-- | test/Feature/OverlappedError.c | 2 | ||||
-rw-r--r-- | test/Feature/PreferCex.c | 2 | ||||
-rw-r--r-- | test/regression/2007-10-12-failed-make-symbolic-after-copy.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/test/Feature/DumpStatesOnHalt.c b/test/Feature/DumpStatesOnHalt.c index 7e9cf46a..d86b786b 100644 --- a/test/Feature/DumpStatesOnHalt.c +++ b/test/Feature/DumpStatesOnHalt.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -g -emit-llvm -O0 -c -o %t1.bc // RUN: %klee --stop-after-n-instructions=1 --dump-states-on-halt=true %t1.bc -// RUN: test -f klee-last/test000001.bout +// RUN: test -f klee-last/test000001.ktest int main() { int x = 10; diff --git a/test/Feature/InAndOutOfBounds.c b/test/Feature/InAndOutOfBounds.c index 18e5d2b2..ba655b83 100644 --- a/test/Feature/InAndOutOfBounds.c +++ b/test/Feature/InAndOutOfBounds.c @@ -2,7 +2,7 @@ // RUN: %klee %t1.bc // RUN: test -f klee-last/test000001.ptr.err -o -f klee-last/test000002.ptr.err // RUN: test ! -f klee-last/test000001.ptr.err -o ! -f klee-last/test000002.ptr.err -// RUN: test ! -f klee-last/test000003.bout +// RUN: test ! -f klee-last/test000003.ktest unsigned klee_urange(unsigned start, unsigned end) { unsigned x; diff --git a/test/Feature/LowerSwitch.c b/test/Feature/LowerSwitch.c index c4d9644a..1b92e398 100644 --- a/test/Feature/LowerSwitch.c +++ b/test/Feature/LowerSwitch.c @@ -1,8 +1,8 @@ // RUN: %llvmgcc %s -emit-llvm -g -c -o %t.bc // RUN: %klee --exit-on-error --allow-external-sym-calls --switch-type=internal %t.bc -// RUN: not test -f klee-last/test000010.bout +// RUN: not test -f klee-last/test000010.ktest // RUN: %klee --exit-on-error --allow-external-sym-calls --switch-type=simple %t.bc -// RUN: test -f klee-last/test000010.bout +// RUN: test -f klee-last/test000010.ktest #include <stdio.h> diff --git a/test/Feature/MultipleFreeResolution.c b/test/Feature/MultipleFreeResolution.c index 872d6856..8a36f459 100644 --- a/test/Feature/MultipleFreeResolution.c +++ b/test/Feature/MultipleFreeResolution.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc // RUN: %klee --emit-all-errors %t1.bc -// RUN: ls klee-last/ | grep .out | wc -l | grep 4 +// RUN: ls klee-last/ | grep .ktest | wc -l | grep 4 // RUN: ls klee-last/ | grep .err | wc -l | grep 3 #include <stdlib.h> diff --git a/test/Feature/NamedSeedMatching.c b/test/Feature/NamedSeedMatching.c index cff34282..bb7f6097 100644 --- a/test/Feature/NamedSeedMatching.c +++ b/test/Feature/NamedSeedMatching.c @@ -1,9 +1,9 @@ // RUN: %llvmgcc -c -g %s -o %t.bc // RUN: rm -rf %t.out // RUN: %klee --output-dir=%t.out %t.bc "initial" -// RUN: test -f %t.out/test000001.bout -// RUN: not test -f %t.out/test000002.bout -// RUN: %klee --only-replay-seeds --named-seed-matching --seed-out %t.out/test000001.bout %t.bc > %t.log +// RUN: test -f %t.out/test000001.ktest +// RUN: not test -f %t.out/test000002.ktest +// RUN: %klee --only-replay-seeds --named-seed-matching --seed-out %t.out/test000001.ktest %t.bc > %t.log // RUN: grep -q "a==3" %t.log // RUN: grep -q "b==4" %t.log // RUN: grep -q "c==5" %t.log diff --git a/test/Feature/OverlappedError.c b/test/Feature/OverlappedError.c index 3c79380c..aa220ed9 100644 --- a/test/Feature/OverlappedError.c +++ b/test/Feature/OverlappedError.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -g -emit-llvm -O0 -c -o %t1.bc // RUN: %klee %t1.bc -// RUN: ls klee-last/ | grep .out | wc -l | grep 4 +// RUN: ls klee-last/ | grep .ktest | wc -l | grep 4 // RUN: ls klee-last/ | grep .ptr.err | wc -l | grep 2 #include <stdlib.h> diff --git a/test/Feature/PreferCex.c b/test/Feature/PreferCex.c index d73b6076..97ce5101 100644 --- a/test/Feature/PreferCex.c +++ b/test/Feature/PreferCex.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc // RUN: %klee --exit-on-error %t1.bc -// RUN: klee-bout-tool klee-last/test000001.bout | grep -F 'Hi\x00\x00' +// RUN: ktest-tool klee-last/test000001.ktest | grep -F 'Hi\x00\x00' #include <assert.h> #include <stdlib.h> diff --git a/test/regression/2007-10-12-failed-make-symbolic-after-copy.c b/test/regression/2007-10-12-failed-make-symbolic-after-copy.c index 9d81fad0..e9a280c3 100644 --- a/test/regression/2007-10-12-failed-make-symbolic-after-copy.c +++ b/test/regression/2007-10-12-failed-make-symbolic-after-copy.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc // RUN: %klee %t1.bc -// RUN: test -f klee-last/test000001.bout +// RUN: test -f klee-last/test000001.ktest int main() { unsigned x, y[4]; |