Skip to content

Commit 90aabca

Browse files
committed
[Test] Disable long classpath tests on MAC
1 parent 37fca43 commit 90aabca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/launching/LongClassPathTests.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ protected void tearDown() throws Exception {
104104
* When classpathOnlyJar is enabled, a classpath-only jar is created.
105105
*/
106106
public void testVeryLongClasspathWithClasspathOnlyJar() throws Exception {
107+
if (Platform.OS.isMac()) { // see https://github.com/eclipse-jdt/eclipse.jdt.debug/issues/782
108+
return;
109+
}
107110
// Given
108111
javaProject = createJavaProjectClone("test ä VeryLongClasspathWithClasspathOnlyJar", CLASSPATH_PROJECT_CONTENT_PATH.toString(), JavaProjectHelper.JAVA_SE_1_6_EE_NAME, true);
109112
launchConfiguration = createLaunchConfigurationStopInMain(javaProject, MAIN_TYPE_NAME);
@@ -137,6 +140,9 @@ public void testVeryLongClasspathWithClasspathOnlyJar() throws Exception {
137140
* When JVM > 9, an argument file for the classpath is created when classpath is too long
138141
*/
139142
public void testVeryLongClasspathWithArgumentFile() throws Exception {
143+
if (Platform.OS.isMac()) { // see https://github.com/eclipse-jdt/eclipse.jdt.debug/issues/782
144+
return;
145+
}
140146
javaProject = createJavaProjectClone("testVeryLongClasspathWithArgumentFile", CLASSPATH_PROJECT_CONTENT_PATH.toString(), JavaProjectHelper.JAVA_SE_9_EE_NAME, true);
141147
launchConfiguration = createLaunchConfigurationStopInMain(javaProject, MAIN_TYPE_NAME);
142148
assumeTrue(isArgumentFileSupported(launchConfiguration));

0 commit comments

Comments
 (0)