summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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