summaryrefslogtreecommitdiffstats
path: root/scilab/modules/output_stream
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/output_stream
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/output_stream')
-rw-r--r--scilab/modules/output_stream/Makefile.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/scilab/modules/output_stream/Makefile.in b/scilab/modules/output_stream/Makefile.in
index 61cd906..d1c35b6 100644
--- a/scilab/modules/output_stream/Makefile.in
+++ b/scilab/modules/output_stream/Makefile.in
@@ -65,6 +65,9 @@ DIST_COMMON = $(libscioutput_stream_la_include_HEADERS) \
65 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 65 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
66 $(top_srcdir)/Makefile.incl.am 66 $(top_srcdir)/Makefile.incl.am
67@NEED_JAVA_TRUE@am__append_1 = java 67@NEED_JAVA_TRUE@am__append_1 = java
68
69# With --enable-compilation-tests, launch java unitary tests
70@COMPILATION_TESTS_TRUE@am__append_2 = test
68subdir = modules/output_stream 71subdir = modules/output_stream
69ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
70am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \ 73am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
@@ -539,7 +542,7 @@ SPLINT_OPTIONS = -weak -booltype BOOL
539#### the procedure will be the same with Microsoft Windows (C) 542#### the procedure will be the same with Microsoft Windows (C)
540#### and Linux/Unix 543#### and Linux/Unix
541####################################################################### 544#######################################################################
542TARGETS_ALL = $(am__append_1) 545TARGETS_ALL = $(am__append_1) $(am__append_2)
543 546
544################ MACROS ###################### 547################ MACROS ######################
545# Rule to build a macro 548# Rule to build a macro
@@ -1295,7 +1298,7 @@ uninstall-am: uninstall-libscioutput_stream_la_etcDATA \
1295 1298
1296 1299
1297# This target enables tests for Scilab 1300# This target enables tests for Scilab
1298check-local: $(top_builddir)/scilab-bin 1301check-local: $(top_builddir)/scilab-bin test
1299 @COMMAND="test_run('$(modulename)');quit";\ 1302 @COMMAND="test_run('$(modulename)');quit";\
1300 export LANG=C;\ 1303 export LANG=C;\
1301 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND" 1304 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
@@ -1362,6 +1365,12 @@ clean-macros:
1362 rm -f $(builddir)/$$dir/$(MACROBINMASK); \ 1365 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1363 done 1366 done
1364 1367
1368test:
1369# More tests could be added here
1370 @if test -f build.xml; then \
1371 $(ANT) test; \
1372 fi
1373
1365all-local: $(TARGETS_ALL) 1374all-local: $(TARGETS_ALL)
1366 1375
1367.sci.bin: 1376.sci.bin: