Lines Matching refs:procout
271 def verify_by_json(procout, res, tidx, args, pm): argument
273 outputJSON = json.loads(procout)
401 (p, procout) = exec_cmd(tidx, args, pm, 'execute', tidx['dependsOn'])
424 (p, procout) = exec_cmd(tidx, args, pm, 'execute', tidx["cmdUnderTest"])
437 …_failmsg('Command exited with {}, expected {}\n{}'.format(exit_code, tidx["expExitCode"], procout))
438 print(procout)
442 (p, procout) = exec_cmd(tidx, args, pm, 'verify', tidx["verifyCmd"])
443 if procout:
445 verify_by_json(procout, res, tidx, args, pm)
449 match_index = re.findall(match_pattern, procout)
452 … res.set_failmsg('Could not match regex pattern. Verify command output:\n{}'.format(procout))
457 … res.set_failmsg('Must specify a match option: matchJSON or matchPattern\n{}'.format(procout))
464 prepare_env(tidx, args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout)