summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2010-05-19 11:59:45 +0200
committerClément DAVID <clement.david@scilab.org>2010-05-19 15:15:12 +0200
commit2ad06f2b3d540d6824cd1c2616cf5f99e5ca9b70 (patch)
treef2c1c18b303a7f3d3414b31b13153e508f5af620
parent799acc5c1cd0f61299e99448770c4294aaaaf14a (diff)
downloadscilab-2ad06f2b3d540d6824cd1c2616cf5f99e5ca9b70.zip
scilab-2ad06f2b3d540d6824cd1c2616cf5f99e5ca9b70.tar.gz
Only launch the test when available
Change-Id: Ia711831027bbcf42b5058c337f39ca1a0926c828
-rw-r--r--scilab/build.incl.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/scilab/build.incl.xml b/scilab/build.incl.xml
index 2775544..74088c2 100644
--- a/scilab/build.incl.xml
+++ b/scilab/build.incl.xml
@@ -205,9 +205,16 @@
205 source="5" 205 source="5"
206 /> 206 />
207 </target> 207 </target>
208 208
209 <target name="existing-tests">
210 <available property="test-present"
211 directory="${src.test.dir}"
212 />
213 </target>
214
209 <!-- Compile test sources --> 215 <!-- Compile test sources -->
210 <target name="compile-test" description="Build tests" depends="jar"> 216 <target name="compile-test" description="Build tests" depends="jar" if="test-present">
217
211 <javac 218 <javac
212 srcdir="${src.test.dir}" 219 srcdir="${src.test.dir}"
213 destdir="${classes.test.dir}" 220 destdir="${classes.test.dir}"