summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/test/test-runner/cmd/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/test/test-runner/cmd/run b/usr/src/test/test-runner/cmd/run
index 8399c3203a..9e2e53333d 100644
--- a/usr/src/test/test-runner/cmd/run
+++ b/usr/src/test/test-runner/cmd/run
@@ -924,6 +924,9 @@ def filter_tests(testrun, options):
if not m:
continue
group, test = m.group(1, 2)
+ m = re.match(re.escape(options.testdir) + r'(.*)', group)
+ if m:
+ group = m.group(1)
try:
failed[group].append(test)
except KeyError: