From c86e3bcf164c91ee215cc4e52de42ba64369d60b Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Tue, 18 Dec 2018 14:21:34 +0000 Subject: Renamed --stop-after-n-instructions to --max-instructions, as suggested by @251 --- test/Feature/BFSSearcher.c | 2 +- test/Feature/DumpStatesOnHalt.c | 2 +- test/Feature/Optimize.c | 2 +- test/regression/2018-05-05-number-instructions-dumped-states.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/Feature/BFSSearcher.c b/test/Feature/BFSSearcher.c index 313791d5..eb323c4c 100644 --- a/test/Feature/BFSSearcher.c +++ b/test/Feature/BFSSearcher.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -emit-llvm -g -c -o %t1.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --stop-after-n-instructions=500 --search=bfs %t1.bc 2>%t2.log +// RUN: %klee --output-dir=%t.klee-out --max-instructions=500 --search=bfs %t1.bc 2>%t2.log // RUN: FileCheck -input-file=%t2.log %s #include "assert.h" #include "klee/klee.h" diff --git a/test/Feature/DumpStatesOnHalt.c b/test/Feature/DumpStatesOnHalt.c index 21767798..f154fc82 100644 --- a/test/Feature/DumpStatesOnHalt.c +++ b/test/Feature/DumpStatesOnHalt.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -g -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --stop-after-n-instructions=1 --dump-states-on-halt=true %t1.bc 2>&1 | FileCheck %s +// RUN: %klee --output-dir=%t.klee-out --max-instructions=1 --dump-states-on-halt=true %t1.bc 2>&1 | FileCheck %s // RUN: test -f %t.klee-out/test000001.ktest int main(int argc, char** argv) { diff --git a/test/Feature/Optimize.c b/test/Feature/Optimize.c index c0eb2d33..326e4912 100644 --- a/test/Feature/Optimize.c +++ b/test/Feature/Optimize.c @@ -1,7 +1,7 @@ // RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t2.bc // RUN: rm -f %t2.log // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --stop-after-n-instructions=100 --optimize %t2.bc > %t3.log +// RUN: %klee --output-dir=%t.klee-out --max-instructions=100 --optimize %t2.bc > %t3.log // RUN: echo "good" > %t3.good // RUN: diff %t3.log %t3.good diff --git a/test/regression/2018-05-05-number-instructions-dumped-states.c b/test/regression/2018-05-05-number-instructions-dumped-states.c index 8d183b77..0f84408e 100644 --- a/test/regression/2018-05-05-number-instructions-dumped-states.c +++ b/test/regression/2018-05-05-number-instructions-dumped-states.c @@ -1,6 +1,6 @@ // RUN: %llvmgcc %s -emit-llvm %O0opt -g -c -o %t1.bc // RUN: rm -rf %t.klee-out -// RUN: %klee -stop-after-n-instructions=1 --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s +// RUN: %klee -max-instructions=1 --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s // CHECK: KLEE: done: total instructions = 1 -- cgit 1.4.1