Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2017-04-14 19:14:38 -0400
committerGerrit Code Review @ Eclipse.org2017-04-14 20:03:36 -0400
commit18a6002f0722fe56671df5d615624d0d13839f08 (patch)
treeddc7299bb7740b302cf2a0860e388b58e2b5351e /pom.xml
parent8b8ceed8009ecde09887e3af17f6af0adb53ca39 (diff)
downloadorg.eclipse.cdt-18a6002f0722fe56671df5d615624d0d13839f08.tar.gz
org.eclipse.cdt-18a6002f0722fe56671df5d615624d0d13839f08.tar.xz
org.eclipse.cdt-18a6002f0722fe56671df5d615624d0d13839f08.zip
Bug 515304: profiles to parallelize testsuite
Change-Id: I02095334c2176bfb9a2968d91b6175af37123f5b Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 05033bd0ec..b88e31639a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,15 @@
<help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.5</help-docs-eclipserun-repo>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git</tycho.scmUrl>
<base.test.vmargs>-Xms256m -Xmx512m -ea</base.test.vmargs>
+
+ <!-- By default cdt-other.skip.tests will be false as none of
+ the skip-tests profiles will be activated. When one is
+ activated, this allows us to skip all other cdt tests not
+ explicitly skipped further down the pom hierarchy.
+ Recall that the command line will take precedence, so
+ -DskipTests will override anything else as normal maven
+ users expect. -->
+ <skipTests>${cdt-other.skip.tests}</skipTests>
</properties>
<licenses>
@@ -182,6 +191,35 @@
</build>
</profile>
<profile>
+ <id>skip-all-tests</id>
+ <properties>
+ <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
+ <dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
+ <cdt-other.skip.tests>true</cdt-other.skip.tests>
+ </properties>
+ </profile>
+ <profile>
+ <id>skip-tests-except-cdt-ui</id>
+ <properties>
+ <dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
+ <cdt-other.skip.tests>true</cdt-other.skip.tests>
+ </properties>
+ </profile>
+ <profile>
+ <id>skip-tests-except-dsf-gdb</id>
+ <properties>
+ <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
+ <cdt-other.skip.tests>true</cdt-other.skip.tests>
+ </properties>
+ </profile>
+ <profile>
+ <id>skip-tests-except-cdt-other</id>
+ <properties>
+ <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
+ <dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
+ </properties>
+ </profile>
+ <profile>
<id>production</id>
<build>
<plugins>

Back to the top