summaryrefslogtreecommitdiffstats
path: root/scilab/modules/scicos
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/scicos
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/scicos')
-rw-r--r--scilab/modules/scicos/Makefile.in17
1 files changed, 13 insertions, 4 deletions
diff --git a/scilab/modules/scicos/Makefile.in b/scilab/modules/scicos/Makefile.in
index ef2adb0..6cb6323 100644
--- a/scilab/modules/scicos/Makefile.in
+++ b/scilab/modules/scicos/Makefile.in
@@ -81,10 +81,13 @@ DIST_COMMON = $(am__libsciscicos_la_include_HEADERS_DIST) \
81 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 81 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
82 $(srcdir)/Makefile.modelica.am $(top_srcdir)/Makefile.incl.am 82 $(srcdir)/Makefile.modelica.am $(top_srcdir)/Makefile.incl.am
83@NEED_JAVA_TRUE@am__append_1 = java 83@NEED_JAVA_TRUE@am__append_1 = java
84
85# With --enable-compilation-tests, launch java unitary tests
86@COMPILATION_TESTS_TRUE@am__append_2 = test
84@OCAML_TRUE@@SCICOS_TRUE@bin_PROGRAMS = $(am__EXEEXT_1) 87@OCAML_TRUE@@SCICOS_TRUE@bin_PROGRAMS = $(am__EXEEXT_1)
85 88
86########## COMMON 89########## COMMON
87@OCAML_TRUE@@SCICOS_TRUE@am__append_2 = .ml .mli .mll .mly .cmo .cmi .cmx 90@OCAML_TRUE@@SCICOS_TRUE@am__append_3 = .ml .mli .mll .mly .cmo .cmi .cmx
88subdir = modules/scicos 91subdir = modules/scicos
89ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 92ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \ 93am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
@@ -655,12 +658,12 @@ SPLINT_OPTIONS = -weak -booltype BOOL
655#### the procedure will be the same with Microsoft Windows (C) 658#### the procedure will be the same with Microsoft Windows (C)
656#### and Linux/Unix 659#### and Linux/Unix
657####################################################################### 660#######################################################################
658TARGETS_ALL = $(am__append_1) 661TARGETS_ALL = $(am__append_1) $(am__append_2)
659 662
660################ MACROS ###################### 663################ MACROS ######################
661# Rule to build a macro 664# Rule to build a macro
662# NOT USED AT THE MOMENT 665# NOT USED AT THE MOMENT
663SUFFIXES = .sci $(am__append_2) 666SUFFIXES = .sci $(am__append_3)
664 667
665########### INSTALL DOCUMENTATION ################### 668########### INSTALL DOCUMENTATION ###################
666 669
@@ -2211,7 +2214,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libsciscicos_la_etcDATA \
2211 2214
2212 2215
2213# This target enables tests for Scilab 2216# This target enables tests for Scilab
2214check-local: $(top_builddir)/scilab-bin 2217check-local: $(top_builddir)/scilab-bin test
2215 @COMMAND="test_run('$(modulename)');quit";\ 2218 @COMMAND="test_run('$(modulename)');quit";\
2216 export LANG=C;\ 2219 export LANG=C;\
2217 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND" 2220 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
@@ -2278,6 +2281,12 @@ clean-macros:
2278 rm -f $(builddir)/$$dir/$(MACROBINMASK); \ 2281 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
2279 done 2282 done
2280 2283
2284test:
2285# More tests could be added here
2286 @if test -f build.xml; then \
2287 $(ANT) test; \
2288 fi
2289
2281all-local: $(TARGETS_ALL) 2290all-local: $(TARGETS_ALL)
2282 2291
2283.sci.bin: 2292.sci.bin: