Skip to content

Commit 04cd5ae

Browse files
author
Victor Verbeke
authored
Merge pull request #53 from VictorVerbeke/master
Fix test name parsing for diff to work on GAIA
2 parents 4294659 + 994f4c5 commit 04cd5ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

regtests/testsuite.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ class TPTestsuite(Testsuite):
4040
test_driver_map = {"basic": BasicTestDriver}
4141
default_driver = "basic"
4242

43+
def test_name(self, test_dir):
44+
# Return the last directory name as the test name.
45+
test_directory_name = test_dir.split("/")[-1]
46+
return test_directory_name
47+
4348
def __init__(self):
4449
super().__init__()
4550
target = os.environ.get("TARGET")

0 commit comments

Comments
 (0)