Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8294403

[REDO] make test should report only on executed tests

XMLWordPrintable

    • b05

        This should help to speed up tests significantly. Currently, if we run "make test" with a subset of tests, JTReg would still read the entirety of test root to report on tests that were not run. Even with current suite of tests it gets expensive. If you add more tests to suite -- for example, mounting a large test archive like pre-generated fuzzer tests -- it starts to take a lot of time.

        The reasonable default for older jtreg is `-report:executed`. My own CI -- that has millions of tests mounted in `test/` -- was running with `JTREG="OPTIONS=-report:executed"` for years now. CODETOOLS-7903323 provides a new reporting option, `-report:files`, which makes this whole business easier. This requires new jtreg.

              shade Aleksey Shipilev
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: