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 specfic tests.

Signed-off-by: Ryan Moeller <[email protected]>
  • Loading branch information
Ryan Moeller committed Dec 20, 2019
1 parent 9fb2771 commit 27df83d
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 27df83d

Please sign in to comment.