From: Alexandre Montplaisir Date: Mon, 11 Feb 2013 18:59:31 +0000 (-0500) Subject: ctf: Avoid re-downloading the test traces X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=09e00e4a01643a92d773160c8ac5b8641d542ce5;p=deliverable%2Ftracecompass.git ctf: Avoid re-downloading the test traces Do not download the test traces if they are already present on the file system (skipexisting="true"). The extraction was also moved to a conditional task, so that if the traces cannot be downloaded for some reason, at least it doesn't fail the complete build. Some unit tests will probably fail, but that's the lesser of the two evils. References bug 400459. Change-Id: I69d7cb1525005cf6426f7aa42c45ecbb4c92cdff Reviewed-on: https://git.eclipse.org/r/10286 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov IP-Clean: Alexander Kurtakov Tested-by: Alexander Kurtakov --- diff --git a/org.eclipse.linuxtools.ctf.core.tests/pom.xml b/org.eclipse.linuxtools.ctf.core.tests/pom.xml index a67ccc5fd2..914a1c65a0 100644 --- a/org.eclipse.linuxtools.ctf.core.tests/pom.xml +++ b/org.eclipse.linuxtools.ctf.core.tests/pom.xml @@ -39,32 +39,14 @@ org.apache.maven.plugins maven-antrun-plugin - 1.2 prepare validate - - - - - - - - - - - - - - - - - - - - + + + run diff --git a/org.eclipse.linuxtools.ctf.core.tests/traces/get-traces.xml b/org.eclipse.linuxtools.ctf.core.tests/traces/get-traces.xml new file mode 100644 index 0000000000..ed5e56bf63 --- /dev/null +++ b/org.eclipse.linuxtools.ctf.core.tests/traces/get-traces.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + +