releng: Fix alltests failure on Mac
[deliverable/tracecompass.git] / releng / org.eclipse.tracecompass.alltests / pom.xml
CommitLineData
a167a565
MAL
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2014 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<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
11 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
12 <modelVersion>4.0.0</modelVersion>
13
14 <parent>
2e225298 15 <artifactId>org.eclipse.tracecompass.releng-parent</artifactId>
8336b412 16 <groupId>org.eclipse.tracecompass</groupId>
0dcb3594 17 <version>2.0.0-SNAPSHOT</version>
a167a565
MAL
18 </parent>
19
83dbbb62 20 <artifactId>org.eclipse.tracecompass.alltests</artifactId>
c7e8f6e3 21 <version>1.0.0-SNAPSHOT</version>
a167a565
MAL
22 <packaging>eclipse-test-plugin</packaging>
23
83dbbb62 24 <name>Trace Compass All Tests</name>
a167a565
MAL
25
26 <properties>
27 <perf.database.loc>//127.0.0.1</perf.database.loc>
28 <perf.config>build=20140707-1632;host=myhost;config=linux;jvm=1.7</perf.config>
29 <perfFilesDestination>target</perfFilesDestination>
30 </properties>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.eclipse.tycho</groupId>
36 <artifactId>tycho-surefire-plugin</artifactId>
a167a565 37 <configuration>
1595a685
AM
38 <!-- Default build will not find any tests, but the profiles below
39 can define some. -->
6d849a78
MAL
40 <useUIHarness>false</useUIHarness>
41 <useUIThread>false</useUIThread>
1595a685 42 <failIfNoTests>false</failIfNoTests>
a167a565
MAL
43 </configuration>
44 </plugin>
a167a565
MAL
45 </plugins>
46 </build>
1595a685
AM
47
48 <profiles>
59e6f2ce
AM
49 <!-- Profile to run a test suite present in this plugin, defined by
50 putting -DcustomTestSuite=<name> on the command line. -->
51 <profile>
52 <id>run-custom-test-suite</id>
53 <build>
54 <plugins>
55 <plugin>
56 <groupId>org.eclipse.tycho</groupId>
57 <artifactId>tycho-surefire-plugin</artifactId>
58 <version>${tycho-version}</version>
59 <configuration>
60 <includes>
61 <include>**/${customTestSuite}.java</include>
62 </includes>
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 <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
69 </environmentVariables>
70 </configuration>
71 </plugin>
72 </plugins>
73 </build>
74 </profile>
75
1595a685
AM
76 <!-- Profile to run the performance tests -->
77 <profile>
78 <id>performance</id>
79 <build>
80 <plugins>
81 <plugin>
82 <groupId>org.eclipse.tycho</groupId>
83 <artifactId>tycho-surefire-plugin</artifactId>
84 <version>${tycho-version}</version>
85 <configuration>
86 <argLine>-Declipse.perf.dbloc=${perf.database.loc} -Declipse.perf.config=${perf.config}</argLine>
87 <runOrder>reversealphabetical</runOrder>
88 <includes>
89 <include>**/RunAllPerfTests.java</include>
90 <include>**/PerfResultsToJSon.java</include>
91 </includes>
92 <useUIHarness>false</useUIHarness>
93 <useUIThread>false</useUIThread>
94 <product>org.eclipse.platform.ide</product>
95 </configuration>
96 </plugin>
97 <plugin>
98 <artifactId>maven-antrun-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>deploy-performance-files</id>
102 <phase>install</phase>
103 <goals>
104 <goal>run</goal>
105 </goals>
106 <configuration>
107 <target>
108 <copy includeemptydirs="false"
109 todir="${perfFilesDestination}">
110 <fileset dir=".">
111 <include name="*.json" />
112 <include name="*.js" />
113 </fileset>
114 </copy>
115 </target>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120 <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
121 <plugin>
122 <artifactId>maven-clean-plugin</artifactId>
123 <version>2.6.1</version>
124 <executions>
125 <execution>
126 <id>clean-performance-files</id>
127 <phase>clean</phase>
128 <configuration>
129 <filesets>
130 <fileset>
131 <directory>.</directory>
132 <includes>
133 <include>*.json</include>
134 <include>*.js</include>
135 </includes>
136 </fileset>
137 </filesets>
138 </configuration>
139 <goals>
140 <goal>clean</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
145 </plugins>
146 </build>
147 </profile>
148 </profiles>
149
150
a167a565 151</project>
This page took 0.082742 seconds and 5 git commands to generate.