diff mbox

[i-g-t] tests/igt_command_line: Ignore subtest list for kms_ccs

Message ID 20170810162637.6348-1-arkadiusz.hiler@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Arkadiusz Hiler Aug. 10, 2017, 4:26 p.m. UTC
Temporary workaround for "make check" to pass despite the issue with
kms_ccs which do not list any subtests, even though it should.

TO BE REVERTED by Daniel Stone

Cc: Daniel Stone <daniels@collabora.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
 tests/igt_command_line.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Arkadiusz Hiler Aug. 10, 2017, 4:33 p.m. UTC | #1
On Thu, Aug 10, 2017 at 07:26:37PM +0300, Arkadiusz Hiler wrote:
> Temporary workaround for "make check" to pass despite the issue with
> kms_ccs which do not list any subtests, even though it should.
> 
> TO BE REVERTED by Daniel Stone
> 
> Cc: Daniel Stone <daniels@collabora.com>
> Cc: Daniel Vetter <daniel.vetter@intel.com>
> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

pushed to unblock CI with an ACK from Daniel Vetter from IRC
diff mbox

Patch

diff --git a/tests/igt_command_line.sh b/tests/igt_command_line.sh
index 7f80fc8..37756f2 100755
--- a/tests/igt_command_line.sh
+++ b/tests/igt_command_line.sh
@@ -97,7 +97,10 @@  for test in $TESTLIST; do
 		# 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" != "drv_selftest" -a "$testname" != "drm_mm" ]; then
+		# XXX: kms_ccs is added temporarily to workaround "make check" fail
+		if [ "$testname" != "drv_selftest" \
+			-a "$testname" != "drm_mm" \
+			-a "$testname" != "kms_ccs" ]; then
 			fail $test
 		fi
 	fi