summaryrefslogtreecommitdiffstats
path: root/scilab/modules/compatibility_functions
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/compatibility_functions
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/compatibility_functions')
-rw-r--r--scilab/modules/compatibility_functions/Makefile.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/scilab/modules/compatibility_functions/Makefile.in b/scilab/modules/compatibility_functions/Makefile.in
index 95747a4..d36ce9c 100644
--- a/scilab/modules/compatibility_functions/Makefile.in
+++ b/scilab/modules/compatibility_functions/Makefile.in
@@ -59,6 +59,9 @@ host_triplet = @host@
59DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 59DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
60 $(top_srcdir)/Makefile.incl.am 60 $(top_srcdir)/Makefile.incl.am
61@NEED_JAVA_TRUE@am__append_1 = java 61@NEED_JAVA_TRUE@am__append_1 = java
62
63# With --enable-compilation-tests, launch java unitary tests
64@COMPILATION_TESTS_TRUE@am__append_2 = test
62subdir = modules/compatibility_functions 65subdir = modules/compatibility_functions
63ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 66ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
64am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \ 67am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
@@ -362,7 +365,7 @@ SPLINT_OPTIONS = -weak -booltype BOOL
362#### the procedure will be the same with Microsoft Windows (C) 365#### the procedure will be the same with Microsoft Windows (C)
363#### and Linux/Unix 366#### and Linux/Unix
364####################################################################### 367#######################################################################
365TARGETS_ALL = $(am__append_1) 368TARGETS_ALL = $(am__append_1) $(am__append_2)
366 369
367################ MACROS ###################### 370################ MACROS ######################
368# Rule to build a macro 371# Rule to build a macro
@@ -665,7 +668,7 @@ uninstall-am: uninstall-libscicompatibility_functions_la_etcDATA \
665 668
666 669
667# This target enables tests for Scilab 670# This target enables tests for Scilab
668check-local: $(top_builddir)/scilab-bin 671check-local: $(top_builddir)/scilab-bin test
669 @COMMAND="test_run('$(modulename)');quit";\ 672 @COMMAND="test_run('$(modulename)');quit";\
670 export LANG=C;\ 673 export LANG=C;\
671 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND" 674 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
@@ -732,6 +735,12 @@ clean-macros:
732 rm -f $(builddir)/$$dir/$(MACROBINMASK); \ 735 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
733 done 736 done
734 737
738test:
739# More tests could be added here
740 @if test -f build.xml; then \
741 $(ANT) test; \
742 fi
743
735all-local: $(TARGETS_ALL) 744all-local: $(TARGETS_ALL)
736 745
737.sci.bin: 746.sci.bin: