From dcc3e19c74fdec50efaa93df1530654a3940198c Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Tue, 18 Dec 2018 15:24:01 +0000 Subject: Renamed --stop-after-n-tests to --max-tests --- tools/klee/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') 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 - 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 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) { -- cgit 1.4.1