diff options
author | Toomas Soome <tsoome@me.com> | 2022-12-14 23:30:46 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2022-12-16 20:11:46 +0200 |
commit | f4d2cf74960df993f48d42d323f16867fc6b9bdf (patch) | |
tree | 01bfa4d1453dcb912ae49aa64f28f7be25401163 | |
parent | fb2301db8e408458b542c1f5fa07b5b8a3a95395 (diff) | |
download | illumos-joyent-f4d2cf74960df993f48d42d323f16867fc6b9bdf.tar.gz |
15253 14993 broke test-runner -l option
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
Approved by: Dan McDonald <danmcd@mnx.io>
-rw-r--r-- | usr/src/test/test-runner/cmd/run | 3 |
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: |