--- tests/glslparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/glslparser.py b/tests/glslparser.py index b7de9f6..fe2b3c5 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 -- git-series 0.9.1 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit