Skip to content
Snippets Groups Projects
Commit 69fca53b authored by Michael Leuschel's avatar Michael Leuschel
Browse files

set debug flag optionally from CPP command line


for B2Program model checker

Signed-off-by: default avatarMichael Leuschel <leuschel@uni-duesseldorf.de>
parent d1f51042
No related branches found
No related tags found
No related merge requests found
Pipeline #155941 passed
...@@ -1780,11 +1780,7 @@ int main(int argc, char *argv[]) { ...@@ -1780,11 +1780,7 @@ int main(int argc, char *argv[]) {
return - 1; return - 1;
} }
bool isDebug = (argc>=5 && std::string("true").compare(argv[4])) ? true : false; bool isDebug = (argc>=5 && std::string("true").compare(argv[4])==0) ? true : false;
if (isDebug) {
cout \<\< "Model checking with B2Program." \<\< endl;
}
ModelChecker modelchecker(type, threads, isCaching, isDebug); ModelChecker modelchecker(type, threads, isCaching, isDebug);
modelchecker.modelCheck(); modelchecker.modelCheck();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment