We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d5100 commit 4e8deb3Copy full SHA for 4e8deb3
test/jdk/java/io/IO/IO.java
@@ -29,7 +29,7 @@
29
30
import jdk.test.lib.process.OutputAnalyzer;
31
import jdk.test.lib.process.ProcessTools;
32
-import jtreg.SkippedException;
+import org.junit.jupiter.api.Assumptions;
33
import org.junit.jupiter.api.BeforeAll;
34
import org.junit.jupiter.api.Nested;
35
import org.junit.jupiter.api.condition.EnabledOnOs;
@@ -60,7 +60,7 @@ public class OSSpecificTests {
60
public static void prepareTTY() {
61
expect = Paths.get("/usr/bin/expect"); // os-specific path
62
if (!Files.exists(expect) || !Files.isExecutable(expect)) {
63
- throw new SkippedException("'" + expect + "' not found");
+ Assumptions.abort("'" + expect + "' not found");
64
}
65
66
0 commit comments