Lines Matching refs:test_case
183 def Verify(self, test_case, results): argument
207 not test_case.is_mandatory):
215 def CheckResult(self, test_case, cmd_results, result=None, note=None): argument
234 result, note = self.Verify(test_case, cmd_results)
328 for test_case in settings:
329 if (test_case.is_staging or test_case.testsuite in
331 settings_singlethread.append(test_case)
333 settings_multithread.append(test_case)
362 for test_case in failed_test_set:
363 failed_multithread_tests.add(test_case)
365 for test_case in failed_multithread_tests:
368 test_case)
388 test_case = None
390 test_case = testcases.get(block=False)
391 logging.info("Worker {} takes '{}'.".format(id, test_case))
396 test_name = name_func(test_case, *args)
399 if test_case.is_filtered:
401 (True, test_case.note))
404 "for '{}'.".format(id, test_case))
407 requirement_satisfied = self._requirement.Check(test_case)
410 "not satisfied for '{}'.".format(id, test_case))
412 (True, test_case.note))
418 commands=test_case.command)
421 "for '{}'.\n Command:{}".format(id, test_case, cmd))
425 "for '{}'.".format(id, test_case))
427 result, note = self.Verify(test_case, cmd_results)
431 "sequential job queue.".format(id, test_case))
432 failed_tests.add(test_case)
437 (test_case, cmd_results, result, note))
463 def GetTestName(self, test_case, n_bit): argument
465 return "{}_{}bit".format(test_case, n_bit)
467 def RunLtpOnce(self, test_case, n_bit): argument
469 asserts.skipIf(test_case.is_filtered, test_case.note)
470 asserts.skipIf(not self._requirement.Check(test_case), test_case.note)
475 commands=test_case.command)
477 self.CheckResult(test_case, self.shell.Execute(cmd))