diff mbox

[i-g-t] scripts: Adapt run-tests.sh to the piglit changes

Message ID 1457363785-26653-1-git-send-email-gabriel.feceoru@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Feceoru, Gabriel March 7, 2016, 3:16 p.m. UTC
Piglit changed its behaviour to prevent overwriting the results
directory unless explicitly specified with -o

Added -o flag in run-tests.sh to keep user experience.

Signed-off-by: Gabriel Feceoru <gabriel.feceoru@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 99e6124..97ba9e5 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -125,7 +125,7 @@  if [ "x$RESUME" != "x" ]; then
 	sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" resume "$RESULTS" $NORETRY
 else
 	mkdir -p "$RESULTS"
-	sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" run igt "$RESULTS" -s $VERBOSE $EXCLUDE $FILTER
+	sudo IGT_TEST_ROOT="$IGT_TEST_ROOT" "$PIGLIT" run igt -o "$RESULTS" -s $VERBOSE $EXCLUDE $FILTER
 fi
 
 if [ "$SUMMARY" == "html" ]; then