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. --> | |
40 | <failIfNoTests>false</failIfNoTests> | |
a167a565 MAL |
41 | </configuration> |
42 | </plugin> | |
a167a565 MAL |
43 | </plugins> |
44 | </build> | |
1595a685 AM |
45 | |
46 | <profiles> | |
59e6f2ce AM |
47 | <!-- Profile to run a test suite present in this plugin, defined by |
48 | putting -DcustomTestSuite=<name> on the command line. --> | |
49 | <profile> | |
50 | <id>run-custom-test-suite</id> | |
51 | <build> | |
52 | <plugins> | |
53 | <plugin> | |
54 | <groupId>org.eclipse.tycho</groupId> | |
55 | <artifactId>tycho-surefire-plugin</artifactId> | |
56 | <version>${tycho-version}</version> | |
57 | <configuration> | |
58 | <includes> | |
59 | <include>**/${customTestSuite}.java</include> | |
60 | </includes> | |
61 | <useUIHarness>true</useUIHarness> | |
62 | <useUIThread>false</useUIThread> | |
63 | <argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine> | |
64 | <product>org.eclipse.platform.ide</product> | |
65 | <environmentVariables> | |
66 | <SWT_GTK3>${SWT_GTK3}</SWT_GTK3> | |
67 | </environmentVariables> | |
68 | </configuration> | |
69 | </plugin> | |
70 | </plugins> | |
71 | </build> | |
72 | </profile> | |
73 | ||
1595a685 AM |
74 | <!-- Profile to run the performance tests --> |
75 | <profile> | |
76 | <id>performance</id> | |
77 | <build> | |
78 | <plugins> | |
79 | <plugin> | |
80 | <groupId>org.eclipse.tycho</groupId> | |
81 | <artifactId>tycho-surefire-plugin</artifactId> | |
82 | <version>${tycho-version}</version> | |
83 | <configuration> | |
84 | <argLine>-Declipse.perf.dbloc=${perf.database.loc} -Declipse.perf.config=${perf.config}</argLine> | |
85 | <runOrder>reversealphabetical</runOrder> | |
86 | <includes> | |
87 | <include>**/RunAllPerfTests.java</include> | |
88 | <include>**/PerfResultsToJSon.java</include> | |
89 | </includes> | |
90 | <useUIHarness>false</useUIHarness> | |
91 | <useUIThread>false</useUIThread> | |
92 | <product>org.eclipse.platform.ide</product> | |
93 | </configuration> | |
94 | </plugin> | |
95 | <plugin> | |
96 | <artifactId>maven-antrun-plugin</artifactId> | |
97 | <executions> | |
98 | <execution> | |
99 | <id>deploy-performance-files</id> | |
100 | <phase>install</phase> | |
101 | <goals> | |
102 | <goal>run</goal> | |
103 | </goals> | |
104 | <configuration> | |
105 | <target> | |
106 | <copy includeemptydirs="false" | |
107 | todir="${perfFilesDestination}"> | |
108 | <fileset dir="."> | |
109 | <include name="*.json" /> | |
110 | <include name="*.js" /> | |
111 | </fileset> | |
112 | </copy> | |
113 | </target> | |
114 | </configuration> | |
115 | </execution> | |
116 | </executions> | |
117 | </plugin> | |
118 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> | |
119 | <plugin> | |
120 | <artifactId>maven-clean-plugin</artifactId> | |
121 | <version>2.6.1</version> | |
122 | <executions> | |
123 | <execution> | |
124 | <id>clean-performance-files</id> | |
125 | <phase>clean</phase> | |
126 | <configuration> | |
127 | <filesets> | |
128 | <fileset> | |
129 | <directory>.</directory> | |
130 | <includes> | |
131 | <include>*.json</include> | |
132 | <include>*.js</include> | |
133 | </includes> | |
134 | </fileset> | |
135 | </filesets> | |
136 | </configuration> | |
137 | <goals> | |
138 | <goal>clean</goal> | |
139 | </goals> | |
140 | </execution> | |
141 | </executions> | |
142 | </plugin> | |
143 | </plugins> | |
144 | </build> | |
145 | </profile> | |
146 | </profiles> | |
147 | ||
148 | ||
a167a565 | 149 | </project> |