Skip to content

Commit c5e55d6

Browse files
committed
Ignore test if not on Linux, in setUp()
Fixes: #843
1 parent 13c2eac commit c5e55d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/MultiReleaseLaunchTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public MultiReleaseLaunchTests(String name) {
6464

6565
@Override
6666
protected void setUp() throws Exception {
67+
assumeTrue("Not on Linux", Platform.OS.isLinux());
6768
super.setUp();
6869
final Set<File> existingLocations = new HashSet<>();
6970
List<RequiredJavaVersion> requiredJavaVersions = new ArrayList<>(List.of(JAVA_11, JAVA_17, JAVA_21));
@@ -115,7 +116,6 @@ protected IJavaProject getProjectContext() {
115116
}
116117

117118
public void testMultiReleaseLaunch() throws Exception {
118-
assumeTrue("Not on Linux", Platform.OS.isLinux());
119119
ILaunchConfiguration config = getLaunchConfiguration("p.Main");
120120
Properties result = launchAndReadResult(config, 11);
121121
assertTrue("Was not launched with a proper Java installation " + result, JAVA_11.matches(result.getProperty("Java")));

0 commit comments

Comments
 (0)