Integrated: 8266184: a few compiler/debug tests don't check exit code
iignatyev at openjdk.java.net
Wed Apr 28 15:48:53 UTC 2021
On Wed, 28 Apr 2021 05:06:19 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
> Hi all,
> could you please review this small fix for `compiler/debug` tests?
> from JBS:
>> `compiler/debug/TestGenerateStressSeed.java`, `TestStressCM.java`, and `TestStressIGVNAndCCP.java` don't check the exit code of spawned JVMs, as a result, they might miss misconfiguration and/or defects. in fact, `TestStressIGVNAndCCP.java` uses a wrong flag name (`TraceIterativeIGVN` instead of `TraceIterativeGVN`) and this was unnoticed b/c we didn't check the exit code.
> the patch adds calls to `OutputAnalyzer::shouldHaveExitValue` and fixes `TestStressIGVNAndCCP.java` to use the right flag.
> - [x] `test/hotspot/jtreg/compiler/debug` on `linux-x64-debug`
> -- Igor
This pull request has now been integrated.
Author: Igor Ignatyev <iignatyev at openjdk.org>
Stats: 7 lines in 3 files changed: 3 ins; 1 del; 3 mod
8266184: a few compiler/debug tests don't check exit code
More information about the hotspot-compiler-dev