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.

Signed-off-by: Gabriel Feceoru <gabriel.feceoru@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
This commit is contained in:
Feceoru, Gabriel 2016-03-07 17:16:25 +02:00 committed by Marius Vlad
parent 77b8a5bfd3
commit 203591ba87

View File

@ -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