]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: zts-report silently ignores perf test results
authorJohn Wren Kennedy <john.kennedy@delphix.com>
Fri, 18 Nov 2022 19:43:18 +0000 (12:43 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Nov 2022 19:43:18 +0000 (11:43 -0800)
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

tests/test-runner/bin/zts-report.py.in

index 66b041b6e2a944bf1e63d33b8f3f0e9cbf904f53..e5b1ae0f65e13281cfbe5de3c73ed978b1839d6f 100755 (executable)
@@ -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+)' + \