summaryrefslogtreecommitdiffstats
path: root/tests/test-runner
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2019-12-20 12:31:59 -0500
committerBrian Behlendorf <[email protected]>2019-12-20 09:31:59 -0800
commit54aefa6abf1bafc2fca2cfce8565c7435bde8e97 (patch)
tree4c75e4baf2c620a41f2f5eaae58626ebd53b1e8d /tests/test-runner
parent9fb2771aa5f53a14f8c30dca6b9f609d192e50f6 (diff)
Fix test pattern in zts-report.py
The pattern was not updated to match when the test output changed to include a platform identifier for platform specific tests. Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Kjeld Schouten <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #9750
Diffstat (limited to 'tests/test-runner')
-rwxr-xr-xtests/test-runner/bin/zts-report.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-runner/bin/zts-report.py b/tests/test-runner/bin/zts-report.py
index 0e78c3547..37b9ccd64 100755
--- a/tests/test-runner/bin/zts-report.py
+++ b/tests/test-runner/bin/zts-report.py
@@ -287,7 +287,8 @@ def process_results(pathname):
prefix = '/zfs-tests/tests/functional/'
pattern = \
- r'^Test:\s*\S*%s(\S+)\s*\(run as (\S+)\)\s*\[(\S+)\]\s*\[(\S+)\]' \
+ r'^Test(?:\s+\(\S+\))?:' + \
+ r'\s*\S*%s(\S+)\s*\(run as (\S+)\)\s*\[(\S+)\]\s*\[(\S+)\]' \
% prefix
pattern_log = r'^\s*Log directory:\s*(\S*)'