[Piglit] [PATCH 17/35] tests/all: Make asmparser tests path relative
Dylan Baker
dylan at pnwbakers.com
Wed Apr 4 22:27:05 UTC 2018
---
tests/all.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/all.py b/tests/all.py
index e0c7311..6aa45f0 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -353,13 +353,14 @@ 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)
for filename in filenames:
if not os.path.splitext(filename)[1] == '.txt':
continue
group = grouptools.join(base_group, filename)
profile.test_list[group] = ASMParserTest(
- type_, os.path.join(dirpath, filename))
+ type_, os.path.join(dirname, filename))
# Find and add all apitrace tests.
classifier = DriverClassifier()
--
git-series 0.9.1
More information about the Piglit
mailing list