about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2018-12-18 15:24:01 +0000
committerMartinNowack <martin.nowack@gmail.com>2018-12-19 21:26:48 +0000
commitdcc3e19c74fdec50efaa93df1530654a3940198c (patch)
treee23d7e95e9b2a40b1d181b60e796ea65ae7e69a2 /tools
parent49c107d85575173c19a12b081feb5fca2320c92f (diff)
downloadklee-dcc3e19c74fdec50efaa93df1530654a3940198c.tar.gz
Renamed --stop-after-n-tests to --max-tests
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index 7eb0fbf7..baf08f50 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -265,9 +265,9 @@ namespace {
                        cl::init(0));
 
   cl::opt<unsigned>
-  StopAfterNTests("stop-after-n-tests",
-	     cl::desc("Stop execution after generating the given number of tests.  Extra tests corresponding to partially explored paths will also be dumped."),
-	     cl::init(0));
+  MaxTests("max-tests",
+           cl::desc("Stop execution after generating the given number of tests. Extra tests corresponding to partially explored paths will also be dumped (default=0 (off))."),
+           cl::init(0));
 
   cl::opt<bool>
   Watchdog("watchdog",
@@ -573,7 +573,7 @@ void KleeHandler::processTestCase(const ExecutionState &state,
       }
     }
 
-    if (m_numGeneratedTests == StopAfterNTests)
+    if (m_numGeneratedTests == MaxTests)
       m_interpreter->setHaltExecution(true);
 
     if (WriteTestInfo) {