Skip to content

Commit

Permalink
Fix test pattern in zts-report.py
Browse files Browse the repository at this point in the history
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 openzfs#9750
  • Loading branch information
Ryan Moeller authored and behlendorf committed Dec 20, 2019
1 parent 9fb2771 commit 54aefa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test-runner/bin/zts-report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*)'

Expand Down

0 comments on commit 54aefa6

Please sign in to comment.