[Piglit] [PATCH 3/5] variable-index-read/write.sh: Add a script for regenerating all of them.
Dylan Baker
baker.dylan.c at gmail.com
Tue Jan 6 09:39:56 PST 2015
I'd rather not see this patch land, I'm about 70% through converting
these generators to be python based and run as part of our gen-tests
build target.
On Monday, January 05, 2015 12:22:44 PM Eric Anholt wrote:
> Manually running the command 4 times every time you want to touch the
> scripts is terrible.
> ---
> tests/spec/glsl-1.10/variable-index-regen.sh | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
> create mode 100755 tests/spec/glsl-1.10/variable-index-regen.sh
>
> diff --git a/tests/spec/glsl-1.10/variable-index-regen.sh b/tests/spec/glsl-1.10/variable-index-regen.sh
> new file mode 100755
> index 0000000..3df8082
> --- /dev/null
> +++ b/tests/spec/glsl-1.10/variable-index-regen.sh
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +#
> +# Run this script with ./variable-index-regen.sh to regenerate all the
> +# variable-indexing scripts.
> +
> +(cd execution/variable-indexing &&
> + ../../../glsl-1.10/variable-index-read.sh 1.10 &&
> + ../../../glsl-1.10/variable-index-write.sh 1.10)
> +
> +(cd ../glsl-1.20/execution/variable-indexing &&
> + ../../../glsl-1.10/variable-index-read.sh 1.20 &&
> + ../../../glsl-1.10/variable-index-write.sh 1.20)
> --
> 2.1.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150106/489cc5a3/attachment.sig>
More information about the Piglit
mailing list