diff mbox

[i-g-t] scripts/run-tests.sh: Allow adding excluded tests on resume

Message ID 1431986376-31715-1-git-send-email-michael.w.mason@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mason, Michael W May 18, 2015, 9:59 p.m. UTC
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.

Signed-off-by: Mike Mason <michael.w.mason@intel.com>
---
 scripts/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 5f83dcf..d289466 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -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