Skip to content

Commit

Permalink
ZTS: zts-report silently ignores perf test results
Browse files Browse the repository at this point in the history
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 openzfs#14185
  • Loading branch information
jwk404 authored Nov 18, 2022
1 parent 3a74f48 commit b0657a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-runner/bin/zts-report.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -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+)' + \
Expand Down

0 comments on commit b0657a5

Please sign in to comment.