summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-03 15:07:40 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-01 14:31:49 -0700
commitf9367efc01942baa1dcbcf54b60ce179040133b1 (patch)
tree36bc178a6e5848404874b08067cd7de981d015a0
parent2f2c0cbd2e0515fbd23828d5727fe4def4e40b7d (diff)
fix asmparser test serialization for out of tree builds
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
-rw-r--r--tests/glslparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glslparser.py b/tests/glslparser.py
index b7de9f699..fe2b3c5ea 100644
--- a/tests/glslparser.py
+++ b/tests/glslparser.py
@@ -59,7 +59,7 @@ for basedir in [TESTS_DIR, GENERATED_TESTS_DIR]:
'asmparsertest', os.path.relpath(dirpath, _basedir)))
type_ = os.path.basename(dirpath)
- dirname = os.path.relpath(dirpath, ROOT_DIR)
+ dirname = os.path.relpath(dirpath, os.path.join(basedir, '..'))
for filename in filenames:
if not os.path.splitext(filename)[1] == '.txt':
continue