[Piglit] [PATCH 1/2] sanity: Turn shader_test list into a string
Caio Marcelo de Oliveira Filho
caio.oliveira at intel.com
Fri Sep 21 23:05:37 UTC 2018
> > -add_shader_test('tests/shaders/glsl-algebraic-add-zero.shader_test')
> > -add_shader_test('tests/spec/glsl-1.50/execution/geometry-basic.shader_test')
> > -add_shader_test('tests/spec/arb_tessellation_shader/execution/sanity.shader_test')
> > -add_shader_test('tests/spec/arb_compute_shader/execution/basic-ssbo.shader_test')
> > +shader_tests = '''
> > +tests/shaders/glsl-algebraic-add-zero.shader_test
> > +tests/spec/arb_compute_shader/execution/basic-ssbo.shader_test
> > +tests/spec/arb_tessellation_shader/execution/sanity.shader_test
> > +tests/spec/glsl-1.50/execution/geometry-basic.shader_test
> > +'''
>
> How about a list of strings?
One string + split() gives less boilerplate per line. In this case
either should be fine.
Thanks,
Caio
More information about the Piglit
mailing list