Enable tests for Tycho
authorDani Megert <Daniel_Megert@ch.ibm.com>
Wed, 15 Apr 2015 14:21:53 +0000 (16:21 +0200)
committerDani Megert <Daniel_Megert@ch.ibm.com>
Wed, 15 Apr 2015 15:06:15 +0000 (17:06 +0200)
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
org.eclipse.debug.tests/pom.xml

index 36e1b60..f376f62 100644 (file)
   <packaging>eclipse-test-plugin</packaging>
   <properties>
     <code.ignoredWarnings>${tests.ignoredWarnings}</code.ignoredWarnings>
+    <testSuite>${project.artifactId}</testSuite>
+    <testClass>org.eclipse.debug.tests.AutomatedSuite</testClass>
   </properties>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-surefire-plugin</artifactId>
+        <version>${tycho.version}</version>
+        <configuration>
+          <useUIHarness>true</useUIHarness>
+          <useUIThread>true</useUIThread>
+          <dependencies>
+            <dependency>
+              <!-- workaround for missing dependency in org.eclipse.e4.ui.services: https://bugs.eclipse.org/462862 -->
+              <type>eclipse-plugin</type>
+              <artifactId>org.eclipse.equinox.event</artifactId>
+              <version>0.0.0</version>
+            </dependency>
+          </dependencies>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>