diff options
author | Pascal Rapicault | 2015-04-01 14:17:54 +0000 |
---|---|---|
committer | Pascal Rapicault | 2015-04-01 14:17:54 +0000 |
commit | 331022f88b83b7ff748c5a89d22838aa0458e86e (patch) | |
tree | ecc3c9936f4b57a6379a2bfff43c258a5a798a1d | |
parent | 1ad9af0f2907088ca0343521c527a0cb511f02d8 (diff) | |
download | rt.equinox.p2-331022f88b83b7ff748c5a89d22838aa0458e86e.tar.gz rt.equinox.p2-331022f88b83b7ff748c5a89d22838aa0458e86e.tar.xz rt.equinox.p2-331022f88b83b7ff748c5a89d22838aa0458e86e.zip |
Tweak install location in AbstractReconciler tests
Change-Id: I9759a49d705c2f58ae46e368c78fb8f0d65714c4
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java | 3 |
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(); |