Skip to contentSkip to conversation

scripts: Adapt run-tests.sh to the piglit changes

PATCH New Gabriel Feceoru 1 participant 1 message Mar 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: Adapt run-tests.sh to the piglit changes

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.

---
 scripts/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/run-tests.sh +1 -1
index 99e6124..97ba9e5 100755
@@ -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
Signature · 6 lines
1.9.1

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