This test takes an argument that is not a path, and this path is provided as a relative one. This works fine if piglit is run from the piglit git tree root dir, but if the piglit is installed or run out of tree this test will expose the bug fixed in the previous patch.
This patch fixes this invocation of built-in-constants to work like all of the other invocations, using os.path.join with testDir to provide an absolute path. Signed-off-by: Dylan Baker <[email protected]> --- tests/all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/all.py b/tests/all.py index cdc20c4..6f82f5b 100644 --- a/tests/all.py +++ b/tests/all.py @@ -1546,7 +1546,7 @@ add_concurrent_test(arb_tessellation_shader, 'arb_tessellation_shader-minmax') add_concurrent_test(arb_tessellation_shader, 'arb_tessellation_shader-invalid-get-program-params') add_concurrent_test(arb_tessellation_shader, 'arb_tessellation_shader-invalid-patch-vertices-range') add_concurrent_test(arb_tessellation_shader, 'arb_tessellation_shader-invalid-primitive') -arb_tessellation_shader['built-in-constants'] = concurrent_test('built-in-constants tests/spec/arb_tessellation_shader/minimum-maximums.txt') +arb_tessellation_shader['built-in-constants'] = concurrent_test('built-in-constants ' + os.path.join(testsDir, 'spec', 'arb_tessellation_shader', 'minimum-maximums.txt')) add_concurrent_test(arb_tessellation_shader, 'arb_tessellation_shader-minmax') import_glsl_parser_tests(arb_tessellation_shader, os.path.join(testsDir, 'spec', -- 2.1.0 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
