Skip to content

8359207: Remove runtime/signal/TestSigusr2.java since it is always skipped #25825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions test/hotspot/jtreg/runtime/signal/SigTestDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,9 @@ public static void main(String[] args) {
switch (signame) {
case "SIGWAITING":
case "SIGKILL":
case "SIGSTOP": {
throw new SkippedException("signals SIGWAITING, SIGKILL and SIGSTOP can't be tested");
}
case "SIGSTOP":
case "SIGUSR2": {
if (Platform.isLinux()) {
throw new SkippedException("SIGUSR2 can't be tested on Linux");
} else if (Platform.isOSX()) {
throw new SkippedException("SIGUSR2 can't be tested on OS X");
}
throw new SkippedException("signals SIGWAITING, SIGKILL, SIGSTOP and SIGUSR2 can't be tested");
}
}

Expand Down
35 changes: 0 additions & 35 deletions test/hotspot/jtreg/runtime/signal/TestSigusr2.java

This file was deleted.