[Intel-gfx] [PATCH i-g-t] scripts/run-test.sh: Piglit overwrite option.

Dylan Baker baker.dylan.c at gmail.com
Thu Mar 24 15:17:37 UTC 2016


Quoting Vivi, Rodrigo (2016-03-23 18:52:38)
> 
> Thanks Dylan.... But how will you handle the piglig installed in
> /usr/local/bin? Maybe we can have one version in our piglit dir inside
> igt but another version in the system what could be different and
> misslead this check.
> 

I have this: https://patchwork.freedesktop.org/patch/77901/, the only
problem I see with it is that my cmake isn't correct, and the file wont
be regenerated if the git commit changes.

The basic idea is that if piglit is installed a version.py is generated
and when it's not git is directly called to get the sha and date. Does
this meet your requirements?

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160324/f8119d58/attachment.sig>


More information about the Intel-gfx mailing list