void cmdRunOnThread (TestStepCmd *step, const std::string &cmd) {
- // Thread running:
- step->setThreadRunning(true);
+ // Thread running (will be set to false at complete()):
+ step->setThreadRunning();
int status = -2;
std::cout << "Executed Command Test Step (" << a_script << ") [rc=" << a_resultCode << "]" << std::endl;
}
- a_threadRunning = false;
+ setThreadNotRunning();
if (a_threadDeprecated) {
a_threadDeprecated = false;
do_reset();