test/lib/jdk/test/lib/cds/CDSTestUtils.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
open Cdiff test/lib/jdk/test/lib/cds/CDSTestUtils.java
test/lib/jdk/test/lib/cds/CDSTestUtils.java
Print this page
*** 209,218 ****
--- 209,222 ----
output.shouldNotHaveExitValue(0);
}
return this;
}
+
+ public OutputAnalyzer getOutput() {
+ return output;
+ }
}
// Specify this property to copy sdandard output of the child test process to
// the parent/main stdout of the test.
// By default such output is logged into a file, and is copied into the main stdout.
*** 364,373 ****
--- 368,381 ----
opts.setArchiveName(getDefaultArchiveName());
opts.addPrefix(cliPrefix);
return new Result(opts, runWithArchive(opts));
}
+ public static Result run(CDSOptions opts) throws Exception {
+ return new Result(opts, runWithArchive(opts));
+ }
+
// Execute JVM with CDS archive, specify command line args suffix
public static OutputAnalyzer runWithArchive(String... cliPrefix)
throws Exception {
return runWithArchive( (new CDSOptions())
test/lib/jdk/test/lib/cds/CDSTestUtils.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File