RFR: CODETOOLS-7903323: Review and improve performance of jtreg reporting.

Jonathan Gibbons jjg at openjdk.org
Fri Sep 23 09:23:08 UTC 2022


Please review a medium simple update to address the annoying delay between the last test being executed and jtreg exiting.

The delay is due to writing the report, a side-effect of which is to scan the entire test-suite, to determine which tests have been executed.

It is not easy/simple to optimize that default; instead, a new report mode is added, that reports on all the tests in the test files and groups given on the command line -- ignoring any additional filters such as the status filter, keyword filter and exclude list filter.  As such, it has more "common-sense" semantics when rerunning tests with `-status:fail`.

There were no existing tests for the `-report` option.  Tests have been added for all flavors of the `-report` option.

-------------

Commit messages:
 - Merge remote-tracking branch 'upstream/master' into jtreg.7903323.report-files
 - CODETOOLS-7903323: Review and improve performance of jtreg reporting.

Changes: https://git.openjdk.org/jtreg/pull/125/files
 Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=125&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903323
  Stats: 664 lines in 15 files changed: 658 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jtreg/pull/125.diff
  Fetch: git fetch https://git.openjdk.org/jtreg pull/125/head:pull/125

PR: https://git.openjdk.org/jtreg/pull/125


More information about the jtreg-dev mailing list