Skip to content

Commit 54aefa6

Browse files
Ryan Moellerbehlendorf
authored andcommitted
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
1 parent 9fb2771 commit 54aefa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test-runner/bin/zts-report.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ def process_results(pathname):
287287

288288
prefix = '/zfs-tests/tests/functional/'
289289
pattern = \
290-
r'^Test:\s*\S*%s(\S+)\s*\(run as (\S+)\)\s*\[(\S+)\]\s*\[(\S+)\]' \
290+
r'^Test(?:\s+\(\S+\))?:' + \
291+
r'\s*\S*%s(\S+)\s*\(run as (\S+)\)\s*\[(\S+)\]\s*\[(\S+)\]' \
291292
% prefix
292293
pattern_log = r'^\s*Log directory:\s*(\S*)'
293294

0 commit comments

Comments
 (0)