Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'lttng/org.eclipse.linuxtools.ctf.core.tests/pom.xml')
-rw-r--r--lttng/org.eclipse.linuxtools.ctf.core.tests/pom.xml41
1 files changed, 39 insertions, 2 deletions
diff --git a/lttng/org.eclipse.linuxtools.ctf.core.tests/pom.xml b/lttng/org.eclipse.linuxtools.ctf.core.tests/pom.xml
index 29a681db9e..a67ccc5fd2 100644
--- a/lttng/org.eclipse.linuxtools.ctf.core.tests/pom.xml
+++ b/lttng/org.eclipse.linuxtools.ctf.core.tests/pom.xml
@@ -37,12 +37,49 @@
</resources>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>prepare</id>
+ <phase>validate</phase>
+ <configuration>
+ <tasks>
+ <echo message="prepare phase" />
+ <!-- Download traces -->
+ <get src="http://lttng.org/files/samples/sample-ctf-trace-20120412.tar.bz2" dest="traces/sample-ctf-trace-20120412.tar.bz2"/>
+ <get src="http://www.dorsal.polymtl.ca/~alexmont/data/trace2.tar.bz2" dest="traces/trace2.tar.bz2"/>
+
+ <!-- Unzip Traces -->
+ <bunzip2 src="traces/sample-ctf-trace-20120412.tar.bz2" dest="traces/" />
+ <bunzip2 src="traces/trace2.tar.bz2" dest="traces/" />
+
+ <!-- Extract traces -->
+ <untar src="traces/sample-ctf-trace-20120412.tar" dest="traces/" />
+ <untar src="traces/trace2.tar" dest="traces/" />
+
+ <!-- Delete unnecessary files -->
+ <delete>
+ <fileset dir="traces" includes="**/*.tar.bz2"/>
+ <fileset dir="traces" includes="**/*.tar"/>
+ </delete>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
- <testSuite>org.eclipse.linuxtools.ctf.core.tests</testSuite>
- <testClass>org.eclipse.linuxtools.ctf.core.tests.AllCtfCoreTests</testClass>
+ <includes>
+ <include>**/AllCtfCoreTests.*</include>
+ </includes>
<useUIHarness>false</useUIHarness>
<useUIThread>false</useUIThread>
<product>org.eclipse.sdk.ide</product>

Back to the top