summaryrefslogtreecommitdiff
path: root/runner/runner_tests.c
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-10-03 16:08:45 +0300
committerPetri Latvala <petri.latvala@intel.com>2018-10-04 14:03:20 +0300
commit48432b44832c382f5001238524c9f888f34a8f24 (patch)
tree7ef19f0d9e7677125a5e0b2a44c32f3e1e1eb388 /runner/runner_tests.c
parentbba38422e7f903094562f1b78cc3579683c0a667 (diff)
runner: Don't try to execute an empty set of subtests
If we resume a test run with igt_resume, or if resume is done automatically from a test timeout, the runner will execute the last attempted test with the subtest selection set to original set minus the subtests already journaled to have started. If this results in an empty set, we get a harmless but misleading message from the test saying "igt_core-WARNING: Unknown subtest: subtest-name,!subtest-name" If the journal already contains as many subtests as we have requested (when we know the set), assume we have them all already and move to the next job list entry instead. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Martin Peres <martin.peres@linux.intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/runner_tests.c')
0 files changed, 0 insertions, 0 deletions