Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-09-12 03:24:35 -0400
committerGerrit Code Review @ Eclipse.org2013-11-12 03:29:18 -0500
commitbf151d69785d29de8b065068dfd39a8dcac11541 (patch)
treebea2e16cc10d066b78210cdf044fcc7682431b57 /bundles/org.eclipse.equinox.p2.tests.discovery
parentce36d97d65c3ffea221d8c72c4e8fb398eb77788 (diff)
downloadrt.equinox.p2-bf151d69785d29de8b065068dfd39a8dcac11541.tar.gz
rt.equinox.p2-bf151d69785d29de8b065068dfd39a8dcac11541.tar.xz
rt.equinox.p2-bf151d69785d29de8b065068dfd39a8dcac11541.zip
Bug 417073: Configuration for tycho-surefire-plugin
Test bundles are now built as test bundles, not as regular plugins, and therefore can be executed by tycho surefire. Small changes in the requirements are required, because there is no full Eclipse available at test time, so all dependencies need to be listed. Also-By: Mickael Istria <mistria@redhat.com> Signed-off-by: Mickael Istria <mistria@redhat.com> Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com> Change-Id: Icdc78a92d93c2d8e0c62c8cc6d49bbfb7de147af
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests.discovery')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests.discovery/pom.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests.discovery/pom.xml b/bundles/org.eclipse.equinox.p2.tests.discovery/pom.xml
index 3ef07b620..df1583317 100644
--- a/bundles/org.eclipse.equinox.p2.tests.discovery/pom.xml
+++ b/bundles/org.eclipse.equinox.p2.tests.discovery/pom.xml
@@ -10,5 +10,21 @@
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.p2.tests.discovery</artifactId>
<version>1.1.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.equinox.p2.discovery.tests.AllDiscoveryTests</testClass>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <configuration>
+ <work>${project.build.directory}/surefireconf</work>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>

Back to the top