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:
parent
3a74f488fc
commit
b0657a59ab
@ -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+)' + \
|
||||
|
Loading…
Reference in New Issue
Block a user