Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConrad Groth2017-06-17 13:34:04 +0000
committerLeo Ufimtsev2017-06-22 16:02:34 +0000
commit8a0c15acf207b28d8176e0bab62ed119f4eaa273 (patch)
treee2c5ac091265e941acab14ccb278a3b0dbf4b46a /pom.xml
parent1de96ce5fd119e54b04409701c4c03aee6792e1f (diff)
downloadeclipse.platform.swt-8a0c15acf207b28d8176e0bab62ed119f4eaa273.tar.gz
eclipse.platform.swt-8a0c15acf207b28d8176e0bab62ed119f4eaa273.tar.xz
eclipse.platform.swt-8a0c15acf207b28d8176e0bab62ed119f4eaa273.zip
Bug 518379 - Allow platform specific JUnit tests
provide infrastructure for platform specific JUnit tests based on maven profiles Patchset 4: - (Leo) Adding AllGtk, All Cocoa, AllWin32 Tests.java - (Leo) Updating pom files. Patchset 5: - (Leo) Commenting out currently unused test setup. Change-Id: I180bc31fc2bca3f8e34f06dfc65ca6b0ac7cd538 Signed-off-by: Conrad Groth <info@conrad-groth.de> Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml36
1 files changed, 35 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 66ac3bf1c5..8433b64dd8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012 Eclipse Foundation and others.
+ Copyright (c) 2012,2017 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -8,6 +8,7 @@
Contributors:
Igor Fedorenko - initial implementation
+ Conrad Groth - add platform specific JUnit test bundles
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -65,6 +66,39 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>mac</id>
+ <activation>
+ <os>
+ <family>mac</family>
+ </os>
+ </activation>
+ <modules>
+ <module>tests/org.eclipse.swt.tests.cocoa</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>unix</id>
+ <activation>
+ <os>
+ <family>unix</family>
+ </os>
+ </activation>
+ <modules>
+ <module>tests/org.eclipse.swt.tests.gtk</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>windows</id>
+ <activation>
+ <os>
+ <family>windows</family>
+ </os>
+ </activation>
+ <modules>
+ <module>tests/org.eclipse.swt.tests.win32</module>
+ </modules>
+ </profile>
</profiles>

Back to the top