summaryrefslogtreecommitdiff
path: root/tests/igt_command_line.sh
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-02-20 14:52:06 +0200
committerPetri Latvala <petri.latvala@intel.com>2020-02-27 13:45:22 +0200
commitbd3d1bc3c3f860b8ba5797ad4d363765194a6cb3 (patch)
tree4acc2ff954e8a62ce4a01214cea07299c24d177c /tests/igt_command_line.sh
parent211151a39a5d5e204fff3d18a4b704aa478b7c07 (diff)
lib: Update selftests to use dynamic subtests
Use the new igt_subtest_with_dynamic to nicely group the dynamic subtests together. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Petri Latvala <petri.latvala@intel.com> Cc: Tomi Sarvela <tomi.p.sarvela@intel.com> Acked-by: Petri Latvala <petri.latvala@intel.com> Acked-by: Tomi Sarvela <tomi.p.sarvela@intel.com> Acked-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'tests/igt_command_line.sh')
-rwxr-xr-xtests/igt_command_line.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/igt_command_line.sh b/tests/igt_command_line.sh
index 291b6526..5356877c 100755
--- a/tests/igt_command_line.sh
+++ b/tests/igt_command_line.sh
@@ -89,13 +89,8 @@ check_test ()
fi
if [ $RET -eq 0 -a -z "$LIST" ]; then
- # Subtest enumeration of kernel selftest launchers depends
- # on the running kernel. If selftests are not enabled,
- # they will output nothing and exit with 0.
- if [ "$testname" != "i915_selftest" -a "$testname" != "drm_mm" -a "$testname" != "kms_selftest" -a "$testname" != "dmabuf" ]; then
- echo " test does seem to be using igt_main() (should have subtests) and yet --list-subtests is empty!"
- fail $test
- fi
+ echo " test does seem to be using igt_main() (should have subtests) and yet --list-subtests is empty!"
+ fail $test
fi
}