From 09e00e4a01643a92d773160c8ac5b8641d542ce5 Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Mon, 11 Feb 2013 13:59:31 -0500 Subject: [PATCH] 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 --- org.eclipse.linuxtools.ctf.core.tests/pom.xml | 24 +++---------------- .../traces/get-traces.xml | 23 ++++++++++++++++++ 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 org.eclipse.linuxtools.ctf.core.tests/traces/get-traces.xml 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 @@ + + + + + + + + + + + + + + + + + + + + + + + -- 2.34.1