Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat Booth2016-09-21 07:15:30 -0400
committerMat Booth2016-09-26 06:48:08 -0400
commitecb6dc3ce049def4798c334f37c3caf1eb43ab92 (patch)
tree718aa5072f6096286467d021e837ae51bab25b48 /pom.xml
parent14b402711d374cf1398216bebcd73820c2c9b6f2 (diff)
downloadorg.eclipse.ecf-ecb6dc3ce049def4798c334f37c3caf1eb43ab92.tar.gz
org.eclipse.ecf-ecb6dc3ce049def4798c334f37c3caf1eb43ab92.tar.xz
org.eclipse.ecf-ecb6dc3ce049def4798c334f37c3caf1eb43ab92.zip
Bug 396457 - [Releng][Maven] Create a build based on tycho
Add machinery to build the test feature and its constituent bundles. Tests are not enabled by default, but when executed all tests pass except those requiring the presence of a running host service, for example, in these test bundles: org.eclipse.ecf.tests.remoteservice.{generic,r-osgi} Some minor tweaks were made to make configuring Tycho simpler like making an abstract test actually abstract, removing a completely empty test class that did nothing and making sure valid test class names end with "Test" so they are detected by Tycho. Change-Id: Ic89a248668e4f08ee347fe3c0bcfd11e4cc23f4d Signed-off-by: Mat Booth <mat.booth@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml29
1 files changed, 28 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index e930d7222..385f709a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.resources.sourceEncoding>UTF-8</project.resources.sourceEncoding>
<tycho.scmUrl>scm:git:https://git.eclipse.org/r/ecf/org.eclipse.ecf</tycho.scmUrl>
- <!-- TODO: tests are not yet ready for tycho -->
+ <!-- Skip tests by default because they take a long time -->
<skipTests>true</skipTests>
</properties>
@@ -166,6 +166,23 @@
<module>server-side/bundles/org.eclipse.ecf.server</module>
<module>server-side/features/org.eclipse.ecf.server.generic.feature</module>
+ <module>tests/bundles/org.eclipse.ecf.tests</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.datashare</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.presence</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.protocol.msn</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.provider.datashare.nio</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.provider.xmpp</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.remoteservice</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.sharedobject</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.storage</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.sync</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.discovery</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.remoteservice.generic</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.remoteservice.r-osgi</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.generic</module>
+ <module>tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution.r-osgi</module>
+
<module>tooling/plugins/org.eclipse.ecf.remoteservices.tooling.pde</module>
<module>releng/features/org.eclipse.ecf.console.feature</module>
@@ -200,6 +217,7 @@
<module>releng/features/org.eclipse.ecf.remoteservice.servlet.feature</module>
<module>releng/features/org.eclipse.ecf.remoteservice.soap.feature</module>
<module>releng/features/org.eclipse.ecf.sharedobject.feature</module>
+ <module>releng/features/org.eclipse.ecf.tests.feature</module>
<module>releng/features/org.eclipse.ecf.xmpp.feature</module>
<module>releng/org.eclipse.ecf.releng.target</module>
@@ -341,6 +359,15 @@
<jgit.dirtyWorkingTree>warning</jgit.dirtyWorkingTree>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <skipTests>${skipTests}</skipTests>
+ <failIfNoTests>false</failIfNoTests>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>

Back to the top