From b0657a59abb38659721bf8d973920292c4f4a1a8 Mon Sep 17 00:00:00 2001 From: John Wren Kennedy Date: Fri, 18 Nov 2022 12:43:18 -0700 Subject: [PATCH] ZTS: zts-report silently ignores perf test results The regex used to extract test result information from a test run only matches the functional tests. Update the regex so it matches both. Reviewed-by: Richard Yao Reviewed-by: George Melikov Reviewed-by: Tony Nguyen Signed-off-by: John Wren Kennedy Closes #14185 --- tests/test-runner/bin/zts-report.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-runner/bin/zts-report.py.in b/tests/test-runner/bin/zts-report.py.in index 66b041b6e..e5b1ae0f6 100755 --- a/tests/test-runner/bin/zts-report.py.in +++ b/tests/test-runner/bin/zts-report.py.in @@ -325,7 +325,7 @@ def process_results(pathname): print('Error opening file:', e) sys.exit(1) - prefix = '/zfs-tests/tests/functional/' + prefix = '/zfs-tests/tests/(?:functional|perf/regression)/' pattern = \ r'^Test(?:\s+\(\S+\))?:' + \ rf'\s*\S*{prefix}(\S+)' + \