Commit | Line | Data |
---|---|---|
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> | |
7d97c73c | 69 | <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR> |
59e6f2ce AM |
70 | </environmentVariables> |
71 | </configuration> | |
72 | </plugin> | |
73 | </plugins> | |
74 | </build> | |
75 | </profile> | |
76 | ||
1595a685 AM |
77 | <!-- Profile to run the performance tests --> |
78 | <profile> | |
79 | <id>performance</id> | |
80 | <build> | |
81 | <plugins> | |
82 | <plugin> | |
83 | <groupId>org.eclipse.tycho</groupId> | |
84 | <artifactId>tycho-surefire-plugin</artifactId> | |
85 | <version>${tycho-version}</version> | |
86 | <configuration> | |
87 | <argLine>-Declipse.perf.dbloc=${perf.database.loc} -Declipse.perf.config=${perf.config}</argLine> | |
88 | <runOrder>reversealphabetical</runOrder> | |
89 | <includes> | |
90 | <include>**/RunAllPerfTests.java</include> | |
91 | <include>**/PerfResultsToJSon.java</include> | |
92 | </includes> | |
93 | <useUIHarness>false</useUIHarness> | |
94 | <useUIThread>false</useUIThread> | |
95 | <product>org.eclipse.platform.ide</product> | |
96 | </configuration> | |
97 | </plugin> | |
98 | <plugin> | |
99 | <artifactId>maven-antrun-plugin</artifactId> | |
100 | <executions> | |
101 | <execution> | |
102 | <id>deploy-performance-files</id> | |
103 | <phase>install</phase> | |
104 | <goals> | |
105 | <goal>run</goal> | |
106 | </goals> | |
107 | <configuration> | |
108 | <target> | |
109 | <copy includeemptydirs="false" | |
110 | todir="${perfFilesDestination}"> | |
111 | <fileset dir="."> | |
112 | <include name="*.json" /> | |
113 | <include name="*.js" /> | |
114 | </fileset> | |
115 | </copy> | |
116 | </target> | |
117 | </configuration> | |
118 | </execution> | |
119 | </executions> | |
120 | </plugin> | |
121 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> | |
122 | <plugin> | |
123 | <artifactId>maven-clean-plugin</artifactId> | |
1595a685 AM |
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> |