Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-09-13 13:24:24 +0000
committerKrzysztof Daniel2013-11-12 09:41:03 +0000
commitf693727e2f0e363c02d47fae7997f4a2aa99f37e (patch)
treedfdd04ae4f7532fe79c7ea8447f8214513a311f0 /bundles/org.eclipse.equinox.p2.tests
parentbf151d69785d29de8b065068dfd39a8dcac11541 (diff)
downloadrt.equinox.p2-f693727e2f0e363c02d47fae7997f4a2aa99f37e.tar.gz
rt.equinox.p2-f693727e2f0e363c02d47fae7997f4a2aa99f37e.tar.xz
rt.equinox.p2-f693727e2f0e363c02d47fae7997f4a2aa99f37e.zip
Bug 417179 - Configure reconciler tests
This approach relies on a build order of reactor modules - the reconciler product needs to be built before reconciler tests are executed. The product is passed via the surefire configuration. Change-Id: If44e10e4f30ca47b92a5427bc8feec3453a8e25f Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/pom.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/pom.xml b/bundles/org.eclipse.equinox.p2.tests/pom.xml
index 429906163..e6787c995 100644
--- a/bundles/org.eclipse.equinox.p2.tests/pom.xml
+++ b/bundles/org.eclipse.equinox.p2.tests/pom.xml
@@ -20,9 +20,11 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <platform.archive.name>eclipse-indigo-platform.tar.gz</platform.archive.name>
<testSuite>${project.artifactId}</testSuite>
<testClass>org.eclipse.equinox.p2.tests.AutomatedTests</testClass>
+ <!-- despite best inentions I was not able to add automatiz detection here -->
+ <!-- Linux is default because Hudson runs those tests on Linux -->
+ <dropinsProduct>org.eclipse.equinox.p2.reconciler-linux.gtk.x86_64.tar.gz</dropinsProduct>
</properties>
<build>
@@ -39,8 +41,8 @@
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
- <argLine>-Xmx512m -Dorg.eclipse.equinox.p2.reconciler.tests.platform.archive=${platform.archive.name} -Dorg.eclipse.equinox.p2.reconciler.tests.35.platform.archive=${platform.archive.name} -Dorg.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive=${platform.archive.name} -Dorg.eclipse.equinox.p2.repository -Dorg.eclipse.equinox.p2.transport.ecf.retry=5</argLine>
- <appArgLine>-consoleLog</appArgLine>
+ <argLine>-Xmx512m -Dorg.eclipse.equinox.p2.reconciler.tests.platform.archive=${project.build.directory}/../../org.eclipse.equinox.p2.tests.reconciler.product/target/products/${dropinsProduct} -Dorg.eclipse.equinox.p2.reconciler.tests.35.platform.archive=${platform.archive.name} -Dorg.eclipse.equinox.p2.repository -Dorg.eclipse.equinox.p2.transport.ecf.retry=5</argLine>
+ <appArgLine>-consoleLog -debug</appArgLine>
<bundleStartLevel>
<bundle>
<id>org.eclipse.equinox.ds</id>

Back to the top