[Intel-gfx] [PATCH i-g-t] scripts/run_tests.sh: Fix breakage after piglit updates.

Marius Vlad marius.c.vlad at intel.com
Tue Apr 19 14:13:11 UTC 2016


There was some discussions about this before:

https://lists.freedesktop.org/archives/intel-gfx/2016-March/089128.html
and
https://lists.freedesktop.org/archives/intel-gfx/2016-March/090302.html

There's some concern that his approach might brake with older versions
of piglit. Is this still the case, or we can push this?

On Tue, Apr 19, 2016 at 03:31:12PM +0200, Maarten Lankhorst wrote:
> Right now scripts/run-tests.sh fails with the following error message:
> 
> Fatal Error: Cannot overwrite existing folder without the -o/--overwrite option being set.
> 
> Fix this by adding -o as required.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> ---
> diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
> index 99e6124f5279..f33b0ffd342a 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 "$RESULTS" -o -s $VERBOSE $EXCLUDE $FILTER
>  fi
>  
>  if [ "$SUMMARY" == "html" ]; then
>  
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160419/3fcda244/attachment.sig>


More information about the Intel-gfx mailing list