diff --git a/src/mrmc.cpp b/src/mrmc.cpp index db2275df6..bedfa658b 100644 --- a/src/mrmc.cpp +++ b/src/mrmc.cpp @@ -22,6 +22,7 @@ #include "src/models/AtomicPropositionsLabeling.h" #include "src/parser/readLabFile.h" #include "src/parser/readTraFile.h" +#include "src/parser/readPrctlFile.h" #include "src/solver/GraphAnalyzer.h" #include "src/utility/settings.h" #include "Eigen/Sparse" @@ -84,6 +85,10 @@ int main(const int argc, const char* argv[]) { std::cout << mrmc::settings::helpConfigfile << std::endl; return 0; } + if (s->isSet("test-prctl")) { + mrmc::parser::PRCTLParser parser(s->getString("test-prctl").c_str()); + return 0; + } if (s->isSet("verbose")) { diff --git a/src/utility/settings.cpp b/src/utility/settings.cpp index b090a6e11..037243de4 100644 --- a/src/utility/settings.cpp +++ b/src/utility/settings.cpp @@ -114,6 +114,7 @@ Settings* Settings::instance(const int argc, const char* argv[], const char* fil ("verbose,v", "be verbose") ("help-config", "produce help message about config file") ("configfile,c", bpo::value(), "name of config file") + ("test-prctl", bpo::value(), "name of prctl file") ; Settings::generic.add_options() ("trafile", bpo::value()->required(), "name of the .tra file")