1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014, 2019 Ericsson
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->
<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"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>org.eclipse.tracecompass.releng-parent</artifactId>
<groupId>org.eclipse.tracecompass</groupId>
<version>6.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.tracecompass.alltests</artifactId>
<version>1.0.11-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<name>Trace Compass All Tests</name>
<properties>
<perf.database.loc>//127.0.0.1</perf.database.loc>
<perf.config>build=20140707-1632;host=myhost;config=linux;jvm=1.7</perf.config>
<perfFilesDestination>target</perfFilesDestination>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<!-- Default build will not find any tests, but the profiles below
can define some. -->
<useUIHarness>false</useUIHarness>
<useUIThread>false</useUIThread>
<failIfNoTests>false</failIfNoTests>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Profile to run a test suite present in this plugin, defined by
putting -DcustomTestSuite=<name> on the command line. -->
<profile>
<id>run-custom-test-suite</id>
<properties>
<tracecompass.extra.args></tracecompass.extra.args>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<includes>
<include>**/${customTestSuite}.java</include>
</includes>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<argLine>${tycho.testArgLine} ${base.ui.test.vmargs} ${tracecompass.extra.args}</argLine>
<product>org.eclipse.platform.ide</product>
<environmentVariables>
<SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
<LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Profile to run the performance tests -->
<profile>
<id>performance</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<argLine>-Declipse.perf.dbloc=${perf.database.loc} -Declipse.perf.config=${perf.config}</argLine>
<runOrder>reversealphabetical</runOrder>
<includes>
<include>**/RunAllPerfTests.java</include>
<include>**/PerfResultsToJSon.java</include>
</includes>
<useUIHarness>false</useUIHarness>
<useUIThread>false</useUIThread>
<product>org.eclipse.platform.ide</product>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy-performance-files</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy includeemptydirs="false"
todir="${perfFilesDestination}">
<fileset dir=".">
<include name="*.json" />
<include name="*.js" />
</fileset>
</copy>
</target>
</configuration>
</execution>
</executions>
</plugin>
<!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<executions>
<execution>
<id>clean-performance-files</id>
<phase>clean</phase>
<configuration>
<filesets>
<fileset>
<directory>.</directory>
<includes>
<include>*.json</include>
<include>*.js</include>
</includes>
</fileset>
</filesets>
</configuration>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
|