Commit 6b08f371 authored by Dylan Baker's avatar Dylan Baker

tests/all: Make asmparser tests path relative

Tested-by: Rafael Antognolli's avatarRafael Antognolli <rafael.antognolli@intel.com>
parent 5fa0abc6
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment