diff options
author | Pascal Rapicault | 2015-04-01 13:51:09 +0000 |
---|---|---|
committer | Pascal Rapicault | 2015-04-01 13:51:09 +0000 |
commit | 1ad9af0f2907088ca0343521c527a0cb511f02d8 (patch) | |
tree | 57ff44cc2311af22af511eeae4f89d8f457756f3 | |
parent | f130a7a596c2bc3c95c2068649da575ff14c93d8 (diff) | |
download | rt.equinox.p2-1ad9af0f2907088ca0343521c527a0cb511f02d8.tar.gz rt.equinox.p2-1ad9af0f2907088ca0343521c527a0cb511f02d8.tar.xz rt.equinox.p2-1ad9af0f2907088ca0343521c527a0cb511f02d8.zip |
Collect more information to help track failures of the
AbstractReconcilerTest on the build machine
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java | 6 |
1 files changed, 5 insertions, 1 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 f15f05412..b2ff2ce40 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 @@ -225,8 +225,12 @@ public class AbstractReconcilerTest extends AbstractProvisioningTest { } else { file = new File(property); } + StringBuffer detailedMessage = new StringBuffer(600); + detailedMessage.append(" propertyToPlatformArchive was ").append(propertyToPlatformArchive == null ? " not set " : propertyToPlatformArchive).append('\n'); + detailedMessage.append(" org.eclipse.equinox.p2.reconciler.tests.platform.archive was ").append(property == null ? " not set " : property).append('\n'); + detailedMessage.append(" install location is ").append(getInstallLocation()).append('\n'); String message = "Need to set the \"org.eclipse.equinox.p2.reconciler.tests.platform.archive\" system property with a valid path to the platform binary drop or copy the archive to be a sibling of the install folder."; - assertNotNull(message, file); + assertNotNull(message + "\n" + detailedMessage, file); assertTrue(message, file.exists()); assertTrue("File is zero length: " + file.getAbsolutePath(), file.length() > 0); return file; |