Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-04-01 10:17:54 -0400
committerPascal Rapicault2015-04-01 10:17:54 -0400
commit331022f88b83b7ff748c5a89d22838aa0458e86e (patch)
treeecc3c9936f4b57a6379a2bfff43c258a5a798a1d
parent1ad9af0f2907088ca0343521c527a0cb511f02d8 (diff)
downloadrt.equinox.p2-331022f88b83b7ff748c5a89d22838aa0458e86e.tar.gz
rt.equinox.p2-331022f88b83b7ff748c5a89d22838aa0458e86e.tar.xz
rt.equinox.p2-331022f88b83b7ff748c5a89d22838aa0458e86e.zip
Tweak install location in AbstractReconciler tests
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
index b2ff2ce40..3bb88d3b5 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
@@ -205,6 +205,9 @@ public class AbstractReconcilerTest extends AbstractProvisioningTest {
// the releng test framework copies the zip so let's look for it...
// it will be a sibling of the eclipse/ folder that we are running
File installLocation = getInstallLocation();
+ if (Platform.getWS().equals(Platform.WS_COCOA))
+ installLocation = installLocation.getParentFile().getParentFile();
+
if (installLocation != null) {
// parent will be "eclipse" and the parent's parent will be "eclipse-testing"
File parent = installLocation.getParentFile();

Back to the top