releng: update 4.5 target to build with neon for o.e.remote
[deliverable/tracecompass.git] / releng / org.eclipse.tracecompass.alltests / pom.xml
index ba354a54d091f44d9bd1307ca7b3933d65b4f7c8..177112e28ff9e85242127619af264d39b988fd4a 100644 (file)
@@ -37,6 +37,8 @@
         <configuration>
           <!-- Default build will not find any tests, but the profiles below
                can define some. -->
+          <useUIHarness>false</useUIHarness>
+          <useUIThread>false</useUIThread>
           <failIfNoTests>false</failIfNoTests>
         </configuration>
       </plugin>
   </build>
 
   <profiles>
+    <!-- Profile to run a test suite present in this plugin, defined by
+         putting -DcustomTestSuite=<name> on the command line. -->
+    <profile>
+      <id>run-custom-test-suite</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.eclipse.tycho</groupId>
+            <artifactId>tycho-surefire-plugin</artifactId>
+            <version>${tycho-version}</version>
+            <configuration>
+              <includes>
+                <include>**/${customTestSuite}.java</include>
+              </includes>
+              <useUIHarness>true</useUIHarness>
+              <useUIThread>false</useUIThread>
+              <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
+              <product>org.eclipse.platform.ide</product>
+              <environmentVariables>
+                <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
+                <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
+              </environmentVariables>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
     <!-- Profile to run the performance tests -->
     <profile>
       <id>performance</id>
           <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
           <plugin>
             <artifactId>maven-clean-plugin</artifactId>
-            <version>2.6.1</version>
             <executions>
               <execution>
                 <id>clean-performance-files</id>
This page took 0.031549 seconds and 5 git commands to generate.