aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Pospychala2012-07-31 10:58:54 (EDT)
committerJacek Pospychala2012-07-31 10:58:54 (EDT)
commit4870765147be97a58b7088794d4b783a0e5dfd8e (patch)
tree0af98f5f64a3aeb0cf3950c0895e4c160cd120ed
parentca0cab67acd78cc47c71bb829620d4afd6847db6 (diff)
downloadorg.eclipse.pdt-4870765147be97a58b7088794d4b783a0e5dfd8e.zip
org.eclipse.pdt-4870765147be97a58b7088794d4b783a0e5dfd8e.tar.gz
org.eclipse.pdt-4870765147be97a58b7088794d4b783a0e5dfd8e.tar.bz2
Bug 385027 - Switch builds to Maven/Tycho, update GUI tests
-rw-r--r--tests/org.eclipse.php.ui.tests/pom.xml65
1 files changed, 46 insertions, 19 deletions
diff --git a/tests/org.eclipse.php.ui.tests/pom.xml b/tests/org.eclipse.php.ui.tests/pom.xml
index 237626a..7337796 100644
--- a/tests/org.eclipse.php.ui.tests/pom.xml
+++ b/tests/org.eclipse.php.ui.tests/pom.xml
@@ -13,25 +13,52 @@
<artifactId>org.eclipse.php.ui.tests</artifactId>
<version>3.1.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
-
-
+
+ <profiles>
+ <profile>
+ <id>macosx</id>
+ <activation>
+ <os>
+ <family>mac</family>
+ </os>
+ </activation>
+ <properties>
+ <test.vmargs>-Xmx512m -XX:MaxPermSize=256m -XstartOnFirstThread</test.vmargs>
+ </properties>
+ </profile>
+ <profile>
+ <id>other-os</id>
+ <activation>
+ <os>
+ <family>!mac</family>
+ </os>
+ </activation>
+ <properties>
+ <test.vmargs>-Xmx512m -XX:MaxPermSize=256m</test.vmargs>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <testSuite>org.eclipse.php.ui.tests</testSuite>
- <testClass>org.eclipse.php.ui.tests.AllTests</testClass>
- <dependencies>
- <dependency>
- <type>p2-installable-unit</type>
- <artifactId>org.eclipse.dltk.core.index.sql.h2</artifactId>
- </dependency>
- </dependencies>
- </configuration>
- </plugin>
- </plugins>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.php.ui.tests</testSuite>
+ <testClass>org.eclipse.php.ui.tests.AllTests</testClass>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>true</useUIThread>
+ <argLine>${test.vmargs}</argLine>
+ <dependencies>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.dltk.core.index.sql.h2</artifactId>
+ </dependency>
+ </dependencies>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>