diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-05-05 16:32:34 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-05-05 16:32:34 -0700 |
commit | 718a888ed9a5e210b0bd965e1ca3729e5e3416cd (patch) | |
tree | 5d9b127a418af40ddda2fd4e55f899c546816b23 | |
parent | 8f704cc5bb3ea9744842e2fd3a95e00558333fb4 (diff) |
Revert "tests/all.py: Use TESTS_DIR for functions that don't have it"
This reverts commit 0d3742cde7a46446cdbc75c1444c32feb15baa80.
This breaks because the C and python layers fight for who does what.
-rw-r--r-- | tests/all.py | 58 |
1 files changed, 27 insertions, 31 deletions
diff --git a/tests/all.py b/tests/all.py index d6ba90038..395f96412 100644 --- a/tests/all.py +++ b/tests/all.py @@ -594,70 +594,66 @@ with profile.group_manager(PiglitGLTest, 'shaders') as g: g(['point-vertex-id', 'gl_VertexID', 'gl_InstanceID', 'divisor']) g(['glsl-vs-int-attrib']) g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01b.vert'), - 'pass'], + os.path.join('shaders', 'glsl-link-initializer-01a.vert'), + os.path.join('shaders', 'glsl-link-initializer-01b.vert'), 'pass'], 'GLSL link single global initializer, 2 shaders') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01c.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01d.vert'), + os.path.join('shaders', 'glsl-link-initializer-01c.vert'), + os.path.join('shaders', 'glsl-link-initializer-01d.vert'), 'pass'], 'GLSL link matched global initializer, 2 shaders') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01b.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01d.vert'), + os.path.join('shaders', 'glsl-link-initializer-01b.vert'), + os.path.join('shaders', 'glsl-link-initializer-01d.vert'), 'fail'], 'GLSL link mismatched global initializer, 2 shaders') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01b.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-01c.vert'), + os.path.join('shaders', 'glsl-link-initializer-01a.vert'), + os.path.join('shaders', 'glsl-link-initializer-01b.vert'), + os.path.join('shaders', 'glsl-link-initializer-01c.vert'), 'fail'], 'GLSL link mismatched global initializer, 3 shaders') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-02a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-02b.vert'), + os.path.join('shaders', 'glsl-link-initializer-02a.vert'), + os.path.join('shaders', 'glsl-link-initializer-02b.vert'), 'fail'], 'GLSL link mismatched global const initializer') g(['glsl-link-initializer-03'], 'GLSL link two programs, global initializer') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-05a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-05b.vert'), + os.path.join('shaders', 'glsl-link-initializer-05a.vert'), + os.path.join('shaders', 'glsl-link-initializer-05b.vert'), 'fail'], 'GLSL link matched global initializer expression') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-06a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-initializer-06b.vert'), + os.path.join('shaders', 'glsl-link-initializer-06a.vert'), + os.path.join('shaders', 'glsl-link-initializer-06b.vert'), 'fail'], 'GLSL link mismatched global initializer expression') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-invariant-01a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-invariant-01b.vert'), + os.path.join('shaders', 'glsl-link-invariant-01a.vert'), + os.path.join('shaders', 'glsl-link-invariant-01b.vert'), 'fail'], 'GLSL link mismatched invariant') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-centroid-01a.vert'), - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-centroid-01b.vert'), + os.path.join('shaders', 'glsl-link-centroid-01a.vert'), + os.path.join('shaders', 'glsl-link-centroid-01b.vert'), 'fail'], 'GLSL link mismatched centroid') g(['glsl-link-test', - os.path.join(TESTS_DIR, 'shaders', 'glsl-link-struct-array.frag'), + os.path.join('shaders', 'glsl-link-struct-array.frag'), 'pass'], 'GLSL link array-of-struct-of-array') g(['glsl-getactiveuniform-count', - os.path.join(TESTS_DIR, 'shaders', 'glsl-getactiveuniform-length.vert'), - '1'], - 'glsl-getactiveuniform-count: glsl-getactiveuniform-length') + os.path.join('shaders', 'glsl-getactiveuniform-length.vert'), '1'], + 'glsl-getactiveuniform-count: {}'.format('glsl-getactiveuniform-length')) g(['glsl-getactiveuniform-count', - os.path.join(TESTS_DIR, 'shaders', - 'glsl-getactiveuniform-ftransform.vert'), - '2'], - 'glsl-getactiveuniform-count: glsl-getactiveuniform-ftransform') + os.path.join('shaders', 'glsl-getactiveuniform-ftransform.vert'), '2'], + 'glsl-getactiveuniform-count: {}'.format( + 'glsl-getactiveuniform-ftransform')) g(['glsl-getactiveuniform-count', - os.path.join(TESTS_DIR, 'shaders', 'glsl-getactiveuniform-mvp.vert'), - '2'], - 'glsl-getactiveuniform-count: glsl-getactiveuniform-mvp') + os.path.join('shaders', 'glsl-getactiveuniform-mvp.vert'), '2'], + 'glsl-getactiveuniform-count: {}'.format('glsl-getactiveuniform-mvp')) for subtest in ('interstage', 'intrastage', 'vs-gs'): g(['version-mixing', subtest]) |