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 <richard.yao@alumni.stonybrook.edu>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: John Wren Kennedy <john.kennedy@delphix.com>
Closes #14185
This commit is contained in:
John Wren Kennedy 2022-11-18 12:43:18 -07:00 committed by GitHub
parent 3a74f488fc
commit b0657a59ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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+)' + \