[igt-dev] [PATCH i-g-t 3/6] tests: drop invalid name build checks

Daniel Vetter daniel.vetter at ffwll.ch
Fri Feb 15 09:54:45 UTC 2019


They're causing troubles because this runs all the igt_fixtures, and
doing that on a build machine is at best surprising.

The main aim for this is catching testcases which fail to call
igt_exit. But just enumerating subtests does that too, and we have
library unit tests to make sure that's the case (with igt_no_exit and
igt_no_exit_list_only).

Cc: Petri Latvala <petri.latvala at intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 tests/igt_command_line.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/igt_command_line.sh b/tests/igt_command_line.sh
index e05ec34ce321..92643c4d5e16 100755
--- a/tests/igt_command_line.sh
+++ b/tests/igt_command_line.sh
@@ -94,10 +94,6 @@ check_test ()
 			fail $test
 		fi
 	fi
-
-	# check invalid subtest handling
-	echo "  Checking invalid subtest handling..."
-	./$test --run-subtest invalid-subtest > /dev/null 2>&1 && fail $test
 }
 
 TESTLISTFILE="$tests_dir/test-list.txt"
-- 
2.20.1



More information about the igt-dev mailing list