summaryrefslogtreecommitdiffstats
path: root/scilab/modules/intersci
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2010-05-19 11:50:36 +0200
committerClément DAVID <clement.david@scilab.org>2010-05-19 15:29:39 +0200
commit6a3c35502c602bde383f624eaaf5aa04f86fedfc (patch)
treeef1c692afd1aaad2891809d40ab2afb0b3c4762b /scilab/modules/intersci
parentaff2de48d0560cf7266f5788413b02ad1d3c22ad (diff)
downloadscilab-6a3c35502c602bde383f624eaaf5aa04f86fedfc.zip
scilab-6a3c35502c602bde383f624eaaf5aa04f86fedfc.tar.gz
* Option --enable-compilation-tests added to the configure. With this option,
if TestNG has been found, tests will be launched at compilation time. Change-Id: I426bfe2aaa263713a56ff8ece6893908d6e7deff
Diffstat (limited to 'scilab/modules/intersci')
-rw-r--r--scilab/modules/intersci/Makefile.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/scilab/modules/intersci/Makefile.in b/scilab/modules/intersci/Makefile.in
index 9795384..7bb481a 100644
--- a/scilab/modules/intersci/Makefile.in
+++ b/scilab/modules/intersci/Makefile.in
@@ -63,6 +63,9 @@ DIST_COMMON = $(libsciintersci_la_include_HEADERS) \
63 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 63 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
64 $(top_srcdir)/Makefile.incl.am 64 $(top_srcdir)/Makefile.incl.am
65@NEED_JAVA_TRUE@am__append_1 = java 65@NEED_JAVA_TRUE@am__append_1 = java
66
67# With --enable-compilation-tests, launch java unitary tests
68@COMPILATION_TESTS_TRUE@am__append_2 = test
66subdir = modules/intersci 69subdir = modules/intersci
67ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 70ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \ 71am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
@@ -450,7 +453,7 @@ SPLINT_OPTIONS = -weak -booltype BOOL
450#### the procedure will be the same with Microsoft Windows (C) 453#### the procedure will be the same with Microsoft Windows (C)
451#### and Linux/Unix 454#### and Linux/Unix
452####################################################################### 455#######################################################################
453TARGETS_ALL = $(am__append_1) 456TARGETS_ALL = $(am__append_1) $(am__append_2)
454 457
455################ MACROS ###################### 458################ MACROS ######################
456# Rule to build a macro 459# Rule to build a macro
@@ -1110,7 +1113,7 @@ uninstall-am: uninstall-binPROGRAMS \
1110 1113
1111 1114
1112# This target enables tests for Scilab 1115# This target enables tests for Scilab
1113check-local: $(top_builddir)/scilab-bin 1116check-local: $(top_builddir)/scilab-bin test
1114 @COMMAND="test_run('$(modulename)');quit";\ 1117 @COMMAND="test_run('$(modulename)');quit";\
1115 export LANG=C;\ 1118 export LANG=C;\
1116 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND" 1119 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
@@ -1177,6 +1180,12 @@ clean-macros:
1177 rm -f $(builddir)/$$dir/$(MACROBINMASK); \ 1180 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1178 done 1181 done
1179 1182
1183test:
1184# More tests could be added here
1185 @if test -f build.xml; then \
1186 $(ANT) test; \
1187 fi
1188
1180all-local: $(TARGETS_ALL) 1189all-local: $(TARGETS_ALL)
1181 1190
1182.sci.bin: 1191.sci.bin: