@ -741,6 +741,12 @@ Options::Options()
inputLimits = true;
bigData = true;
}
else if (arg.compare(0, 12, "--singletest") == 0)
{
singletest = true;
if (arg.size() > 12)
singletestName = arg.substr(13); // skip '=' char
@ -188,6 +188,8 @@ public:
/// Test selection
/// @{
bool singletest = false;
std::string singletestName;
bool performance = false;
bool quadratic = false;
bool memory = false;
@ -43,6 +43,10 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
for (auto& i: v.get_obj())
if (test::Options::get().singletest == true)
if (test::Options::get().singletestName != i.first)
continue;
std::cout << " " << i.first << "\n";
mObject& o = i.second.get_obj();