diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-03-28 15:30:02 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-05-01 14:28:58 -0700 |
commit | 6b08f37153c118a332e11785264f576f583dcd75 (patch) | |
tree | 2fd2e4d829f95ddc98e4842fd030b8921f0f76ee /tests | |
parent | 5fa0abc6ca79ab1ac15fe1eb1f37324d38592a3c (diff) |
tests/all: Make asmparser tests path relative
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/all.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/all.py b/tests/all.py index 24bdf4330..79ae6ed17 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() |