Commit | Line | Data |
---|---|---|
ffa8146c MK |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (C) 2013 Ericsson | |
4 | ||
5 | All rights reserved. This program and the accompanying materials | |
6 | are made available under the terms of the Eclipse Public License v1.0 | |
7 | which accompanies this distribution, and is available at | |
8 | http://www.eclipse.org/legal/epl-v10.html | |
9 | --> | |
10 | ||
11 | <project xmlns="http://maven.apache.org/POM/4.0.0" | |
12 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
13 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
14 | <modelVersion>4.0.0</modelVersion> | |
15 | ||
16 | <parent> | |
17 | <artifactId>linuxtools-lttng-parent</artifactId> | |
18 | <groupId>org.eclipse.linuxtools.lttng</groupId> | |
19 | <version>3.0.0-SNAPSHOT</version> | |
20 | </parent> | |
21 | ||
22 | <artifactId>org.eclipse.linuxtools.lttng2.kernel.ui.swtbot.tests</artifactId> | |
23 | <version>3.0.0-SNAPSHOT</version> | |
24 | <packaging>eclipse-test-plugin</packaging> | |
25 | ||
26 | <name>Linux Tools LTTng Kernel UI SWTBot Tests Plug-in</name> | |
27 | ||
28 | <profiles> | |
29 | <profile> | |
30 | <id>platform-kepler</id> | |
31 | <build> | |
32 | <plugins> | |
33 | <plugin> | |
34 | <groupId>org.eclipse.tycho</groupId> | |
35 | <artifactId>tycho-surefire-plugin</artifactId> | |
36 | <version>${tycho-version}</version> | |
37 | <configuration> | |
38 | <testSuite>org.eclipse.linuxtools.lttng2.kernel.ui.swtbot.tests</testSuite> | |
39 | <testClass>org.eclipse.linuxtools.lttng2.kernel.ui.swtbot.tests.AllTests</testClass> | |
40 | <useUIHarness>true</useUIHarness> | |
41 | <useUIThread>false</useUIThread> | |
42 | <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine> | |
43 | <product>org.eclipse.platform.ide</product> | |
44 | </configuration> | |
45 | </plugin> | |
46 | </plugins> | |
47 | </build> | |
48 | </profile> | |
49 | <profile> | |
50 | <id>platform-luna</id> | |
51 | <activation> | |
52 | <activeByDefault>true</activeByDefault> | |
53 | </activation> | |
54 | <build> | |
55 | <plugins> | |
56 | <plugin> | |
57 | <groupId>org.eclipse.tycho</groupId> | |
58 | <artifactId>tycho-surefire-plugin</artifactId> | |
59 | <version>${tycho-version}</version> | |
60 | <configuration> | |
61 | <testSuite>org.eclipse.linuxtools.lttng2.kernel.ui.swtbot.tests</testSuite> | |
62 | <testClass>org.eclipse.linuxtools.lttng2.kernel.ui.swtbot.tests.AllTests</testClass> | |
63 | <useUIHarness>true</useUIHarness> | |
64 | <useUIThread>false</useUIThread> | |
65 | <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine> | |
66 | <product>org.eclipse.platform.ide</product> | |
67 | <environmentVariables> | |
68 | <!-- Disable GTK3 with Luna because it makes the test hang (bug in SWT?) | |
69 | Note that we can't set this variable to 0 in Kepler because as soon as | |
70 | it is defined to any value, it gets enabled, see | |
71 | https://bugs.eclipse.org/bugs/show_bug.cgi?id=423220 --> | |
72 | <SWT_GTK3>0</SWT_GTK3> | |
73 | </environmentVariables> | |
74 | </configuration> | |
75 | </plugin> | |
76 | </plugins> | |
77 | </build> | |
78 | </profile> | |
79 | </profiles> | |
80 | ||
81 | <groupId>org.eclipse.linuxtools.lttng2</groupId> | |
82 | </project> |