summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"