Commit 24eb06a8 authored by Brian Paul's avatar Brian Paul
Browse files

tests/all.py: use list for asmparsertest command line arguments



Instead of passing a string like "asmparsertest ARBfp1.0 path/to/mad.txt",
now pass a list like ["asmparsertest", "ARBfp1.0", path/to/mad.txt].

This fixes the asmparsertest tests on Cygwin.  Before, all the tests
were failing because the backslash characters in the path were getting
removed.
Reviewed-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
parent eb2ba7a2
......@@ -3732,8 +3732,8 @@ add_plain_test(fast_color_clear, 'fcc-read-to-pbo-after-clear')
asmparsertest = {}
def add_asmparsertest(group, shader):
asmparsertest[group + '/' + shader] = PiglitGLTest(
'asmparsertest ' + group + ' ' +
os.path.join(testsDir, 'asmparsertest', 'shaders', group, shader),
['asmparsertest', group,
os.path.join(testsDir, 'asmparsertest', 'shaders', group, shader)],
run_concurrent=True)
add_asmparsertest('ARBfp1.0', 'abs-01.txt')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment