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 <john.kennedy@delphix.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9750
This commit is contained in:
Ryan Moeller 2019-12-20 12:31:59 -05:00 committed by Brian Behlendorf
parent 9fb2771aa5
commit 54aefa6abf
1 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,8 @@ def process_results(pathname):
prefix = '/zfs-tests/tests/functional/' prefix = '/zfs-tests/tests/functional/'
pattern = \ 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 % prefix
pattern_log = r'^\s*Log directory:\s*(\S*)' pattern_log = r'^\s*Log directory:\s*(\S*)'