From 54aefa6abf1bafc2fca2cfce8565c7435bde8e97 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 20 Dec 2019 12:31:59 -0500 Subject: [PATCH] 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 Reviewed-by: Kjeld Schouten Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #9750 --- tests/test-runner/bin/zts-report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-runner/bin/zts-report.py b/tests/test-runner/bin/zts-report.py index 0e78c35479..37b9ccd645 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*)'