summaryrefslogtreecommitdiffstats
path: root/scilab/modules/data_structures
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/data_structures
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/data_structures')
-rw-r--r--scilab/modules/data_structures/Makefile.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/scilab/modules/data_structures/Makefile.in b/scilab/modules/data_structures/Makefile.in
index e4deba9..5f27e37 100644
--- a/scilab/modules/data_structures/Makefile.in
+++ b/scilab/modules/data_structures/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/data_structures 65subdir = modules/data_structures
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 \
@@ -505,7 +508,7 @@ SPLINT_OPTIONS = -weak -booltype BOOL
505#### the procedure will be the same with Microsoft Windows (C) 508#### the procedure will be the same with Microsoft Windows (C)
506#### and Linux/Unix 509#### and Linux/Unix
507####################################################################### 510#######################################################################
508TARGETS_ALL = $(am__append_1) 511TARGETS_ALL = $(am__append_1) $(am__append_2)
509 512
510################ MACROS ###################### 513################ MACROS ######################
511# Rule to build a macro 514# Rule to build a macro
@@ -1131,7 +1134,7 @@ libdummy_data_structures_la-intl_e.lo: src/fortran/intl_e.f
1131 $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_data_structures_la_FFLAGS) -c -o libdummy_data_structures_la-intl_e.lo `test -f 'src/fortran/intl_e.f' || echo '$(srcdir)/'`src/fortran/intl_e.f 1134 $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_data_structures_la_FFLAGS) -c -o libdummy_data_structures_la-intl_e.lo `test -f 'src/fortran/intl_e.f' || echo '$(srcdir)/'`src/fortran/intl_e.f
1132 1135
1133# This target enables tests for Scilab 1136# This target enables tests for Scilab
1134check-local: $(top_builddir)/scilab-bin 1137check-local: $(top_builddir)/scilab-bin test
1135 @COMMAND="test_run('$(modulename)');quit";\ 1138 @COMMAND="test_run('$(modulename)');quit";\
1136 export LANG=C;\ 1139 export LANG=C;\
1137 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND" 1140 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
@@ -1198,6 +1201,12 @@ clean-macros:
1198 rm -f $(builddir)/$$dir/$(MACROBINMASK); \ 1201 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1199 done 1202 done
1200 1203
1204test:
1205# More tests could be added here
1206 @if test -f build.xml; then \
1207 $(ANT) test; \
1208 fi
1209
1201all-local: $(TARGETS_ALL) 1210all-local: $(TARGETS_ALL)
1202 1211
1203.sci.bin: 1212.sci.bin: