Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-07-10 16:32:54 -0400
committerSteffen Pingel2011-07-10 16:32:54 -0400
commit61ea162ed636675ee6924c86840aa4f8cda414df (patch)
tree552ad0be0e5588750dc3faf526d8e94ebee3a8a5
parent738289aa7570d71dc98d5ba69e6ff229cd85d139 (diff)
downloadorg.eclipse.mylyn.tasks-61ea162ed636675ee6924c86840aa4f8cda414df.tar.gz
org.eclipse.mylyn.tasks-61ea162ed636675ee6924c86840aa4f8cda414df.tar.xz
org.eclipse.mylyn.tasks-61ea162ed636675ee6924c86840aa4f8cda414df.zip
run tests in each bundle
bug 339956: reduce redundancy in build and simplify target management https://bugs.eclipse.org/bugs/show_bug.cgi?id=339956
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/pom.xml26
-rw-r--r--org.eclipse.mylyn.tasks.tests/pom.xml14
-rw-r--r--org.eclipse.mylyn.trac.tests/pom.xml14
3 files changed, 45 insertions, 9 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/pom.xml b/org.eclipse.mylyn.bugzilla.tests/pom.xml
index 2efb966d8..9dcf62445 100644
--- a/org.eclipse.mylyn.bugzilla.tests/pom.xml
+++ b/org.eclipse.mylyn.bugzilla.tests/pom.xml
@@ -10,14 +10,11 @@
<groupId>org.eclipse.mylyn.tasks</groupId>
<artifactId>org.eclipse.mylyn.bugzilla.tests</artifactId>
<version>3.7.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <test.suite>${project.artifactId}.AllBugzillaTests</test.suite>
+ </properties>
<build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- </plugins>
<!-- resources for standalone tests -->
<resources>
<resource>
@@ -27,5 +24,20 @@
</includes>
</resource>
</resources>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>${test.suite}</testClass>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/org.eclipse.mylyn.tasks.tests/pom.xml b/org.eclipse.mylyn.tasks.tests/pom.xml
index 8401972c6..620226289 100644
--- a/org.eclipse.mylyn.tasks.tests/pom.xml
+++ b/org.eclipse.mylyn.tasks.tests/pom.xml
@@ -10,9 +10,21 @@
<groupId>org.eclipse.mylyn.tasks</groupId>
<artifactId>org.eclipse.mylyn.tasks.tests</artifactId>
<version>3.7.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <test.suite>${project.artifactId}.AllTasksTests</test.suite>
+ </properties>
<build>
<plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>${test.suite}</testClass>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
diff --git a/org.eclipse.mylyn.trac.tests/pom.xml b/org.eclipse.mylyn.trac.tests/pom.xml
index 8587f401e..a941824b8 100644
--- a/org.eclipse.mylyn.trac.tests/pom.xml
+++ b/org.eclipse.mylyn.trac.tests/pom.xml
@@ -10,9 +10,21 @@
<groupId>org.eclipse.mylyn.tasks</groupId>
<artifactId>org.eclipse.mylyn.trac.tests</artifactId>
<version>3.7.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <test.suite>${project.artifactId}.AllTracTests</test.suite>
+ </properties>
<build>
<plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>${test.suite}</testClass>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>

Back to the top