scilab: fix script location in test-suite makefile for out-of sources build
This commit is contained in:
parent
a13a4d4bb4
commit
6bba1817bf
1 changed files with 3 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ SCRIPTSUFFIX = _runme.sci
|
||||||
srcdir = $(abspath @srcdir@)
|
srcdir = $(abspath @srcdir@)
|
||||||
top_srcdir = $(abspath @top_srcdir@)
|
top_srcdir = $(abspath @top_srcdir@)
|
||||||
top_builddir = $(abspath @top_builddir@)
|
top_builddir = $(abspath @top_builddir@)
|
||||||
|
SCRIPTDIR = .
|
||||||
|
|
||||||
C_TEST_CASES += \
|
C_TEST_CASES += \
|
||||||
scilab_enums \
|
scilab_enums \
|
||||||
|
|
@ -26,7 +27,7 @@ CPP_STD_TEST_CASES += \
|
||||||
li_std_container_typemaps \
|
li_std_container_typemaps \
|
||||||
|
|
||||||
TEST_DIR = $*.dir
|
TEST_DIR = $*.dir
|
||||||
RUNME_SCRIPT = $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
RUNME_SCRIPT = $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
||||||
|
|
||||||
include $(srcdir)/../common.mk
|
include $(srcdir)/../common.mk
|
||||||
|
|
||||||
|
|
@ -48,7 +49,7 @@ include $(srcdir)/../common.mk
|
||||||
|
|
||||||
# Makes a directory for the testcase if it does not exist
|
# Makes a directory for the testcase if it does not exist
|
||||||
setup = \
|
setup = \
|
||||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
if [ -f $(RUNME_SCRIPT) ]; then \
|
||||||
echo "$(ACTION)ing testcase $* (with run test) under $(LANGUAGE)" ; \
|
echo "$(ACTION)ing testcase $* (with run test) under $(LANGUAGE)" ; \
|
||||||
else \
|
else \
|
||||||
echo "$(ACTION)ing testcase $* under $(LANGUAGE)" ; \
|
echo "$(ACTION)ing testcase $* under $(LANGUAGE)" ; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue