Skip to contentSkip to conversation

scripts/run-tests.sh: Allow adding excluded tests on resume

PATCH In review Mike Mason 1 participant 2 messages May 18, 2015 – May 27, 2015

lore
Share & tools
lore

Mike Mason

author
#0 lore raw

PATCH 1/1 scripts/run-tests.sh: Allow adding excluded tests on resume

The following piglit patch allows additional excluded tests to be specified when resuming a test run:

http://lists.freedesktop.org/archives/piglit/2015-May/016032.html

This patch allows run-tests.sh to take advantage of that. Of course, it won't work until the piglit patch is merged.

---
 scripts/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/run-tests.sh +1 -1
index 5f83dcf..d289466 100755
@@ -116,7 +116,7 @@ if [ ! -x "$PIGLIT" ]; then
 fi
 
 if [ "x$RESUME" != "x" ]; then
-	sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS"
+	sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS" $EXCLUDE
 else
 	mkdir -p "$RESULTS"
 	sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" $VERBOSE $EXCLUDE $FILTER
Signature · 6 lines
2.1.0

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

Abandoning this patch because the piglit patch on which it depends was not accepted. I will submit a new patch that uses the approved piglit change.
________________________________________
From: Mason, Michael W
Sent: Monday, May 18, 2015 2:59 PM
To: [email protected]
Cc: Mason, Michael W
Subject: [PATCH i-g-t] scripts/run-tests.sh: Allow adding excluded tests on resume

The following piglit patch allows additional excluded tests to be specified when resuming a test run:

http://lists.freedesktop.org/archives/piglit/2015-May/016032.html

This patch allows run-tests.sh to take advantage of that. Of course, it won't work until the piglit patch is merged.

---
 scripts/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/run-tests.sh +1 -1
index 5f83dcf..d289466 100755
@@ -116,7 +116,7 @@ if [ ! -x "$PIGLIT" ]; then
 fi
 
 if [ "x$RESUME" != "x" ]; then
-       sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS"
+       sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS" $EXCLUDE
 else
        mkdir -p "$RESULTS"
        sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" $VERBOSE $EXCLUDE $FILTER

--
2.1.0

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx