scilab: base test-suite makefile on java makefile
This commit is contained in:
parent
6bba1817bf
commit
4bfbe20e52
1 changed files with 10 additions and 7 deletions
|
|
@ -6,10 +6,10 @@ LANGUAGE = scilab
|
||||||
SCILAB = @SCILAB@
|
SCILAB = @SCILAB@
|
||||||
SCILAB_OPT = @SCILABOPT@
|
SCILAB_OPT = @SCILABOPT@
|
||||||
SCRIPTSUFFIX = _runme.sci
|
SCRIPTSUFFIX = _runme.sci
|
||||||
srcdir = $(abspath @srcdir@)
|
|
||||||
top_srcdir = $(abspath @top_srcdir@)
|
srcdir = @srcdir@
|
||||||
top_builddir = $(abspath @top_builddir@)
|
top_srcdir = ../@top_srcdir@
|
||||||
SCRIPTDIR = .
|
top_builddir = ../@top_builddir@
|
||||||
|
|
||||||
C_TEST_CASES += \
|
C_TEST_CASES += \
|
||||||
scilab_enums \
|
scilab_enums \
|
||||||
|
|
@ -26,11 +26,15 @@ CPP_TEST_CASES += \
|
||||||
CPP_STD_TEST_CASES += \
|
CPP_STD_TEST_CASES += \
|
||||||
li_std_container_typemaps \
|
li_std_container_typemaps \
|
||||||
|
|
||||||
|
include $(srcdir)/../common.mk
|
||||||
|
|
||||||
|
# overriden variables
|
||||||
|
SRCDIR = ../$(srcdir)/
|
||||||
|
|
||||||
|
# local variables
|
||||||
TEST_DIR = $*.dir
|
TEST_DIR = $*.dir
|
||||||
RUNME_SCRIPT = $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
RUNME_SCRIPT = $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
||||||
|
|
||||||
include $(srcdir)/../common.mk
|
|
||||||
|
|
||||||
# Rules for the different types of tests
|
# Rules for the different types of tests
|
||||||
%.cpptest:
|
%.cpptest:
|
||||||
$(setup)
|
$(setup)
|
||||||
|
|
@ -70,4 +74,3 @@ run_testcase = \
|
||||||
@rm -rf $(TEST_DIR)
|
@rm -rf $(TEST_DIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile scilab_clean
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue