releng: Do not build the testing feature when some tests are skipped
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 24 Oct 2016 23:14:37 +0000 (19:14 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 25 Oct 2016 23:30:22 +0000 (19:30 -0400)
The testing feature, as well as the "alltests" plugin, cannot be built
when -Dskip-automated-ui-tests is on, as they require all SWTBot tests.
This means the the releng-site cannot be built either. All of them
should only be run when the tests are active.

Change-Id: I9d89444818c2373239dbcd04e8749ab6e033038c
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/83830
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
releng/pom.xml

index eb12663f5c18666f60fda76212de3be3f53fecef..45758e0060052b95627afaab7d10dc78f32b1142 100644 (file)
   <name>Trace Compass Release Engineering Parent</name>
 
   <modules>
-    <module>org.eclipse.tracecompass.alltests</module>
-    <module>org.eclipse.tracecompass.releng-site</module>
     <module>org.eclipse.tracecompass.target</module>
-    <module>org.eclipse.tracecompass.testing</module>
   </modules>
 
   <profiles>
         </property>
       </activation>
       <modules>
+        <!--
+          The releng-site requires the testing feature, and the testing feature
+          requires all SWTBot tests, so only build those when we build those tests.
+        -->
+        <module>org.eclipse.tracecompass.alltests</module>
         <module>org.eclipse.tracecompass.integration.swtbot.tests</module>
+        <module>org.eclipse.tracecompass.releng-site</module>
+        <module>org.eclipse.tracecompass.testing</module>
       </modules>
     </profile>
   </profiles>
This page took 0.026015 seconds and 5 git commands to generate.