summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-02 10:20:57 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-01 14:29:03 -0700
commitffc64348a8f518bcac495f4bb584260bc55ada91 (patch)
treedec9d7a1c73454d5eb9b2b744298fe0754d2ccff /framework
parent6b08f37153c118a332e11785264f576f583dcd75 (diff)
framework/test: make BuiltInConstantTest files relative
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/test/piglit_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index f5fd0c83c..4fd825ae7 100644
--- a/framework/test/piglit_test.py
+++ b/framework/test/piglit_test.py
@@ -199,6 +199,11 @@ class BuiltInConstantsTest(PiglitBaseTest):
"""Test class for handling built in constants tests."""
+ @PiglitBaseTest.command.getter
+ def command(self):
+ command = super(BuiltInConstantsTest, self).command
+ command[1] = os.path.join(ROOT_DIR, 'tests', command[1])
+ return command
class PiglitCLTest(PiglitBaseTest): # pylint: disable=too-few-public-methods
""" OpenCL specific Test class.