Skip to content
Snippets Groups Projects
Commit b4754c8b authored by Mick Jordan's avatar Mick Jordan
Browse files

TestBase: suppress shutdown output in AOT image build

parent 4c85cca7
No related branches found
No related tags found
No related merge requests found
......@@ -828,6 +828,10 @@ public class TestBase {
Runtime.getRuntime().addShutdownHook(new Thread() {
@Override
public void run() {
if (fastROutputManager == null) {
// static block evaluated in an AOT context
return;
}
if (!unexpectedSuccessfulMicroTests.isEmpty()) {
System.out.println("Unexpectedly successful tests:");
for (String test : new TreeSet<>(unexpectedSuccessfulMicroTests)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment