scilab: fix test test-suite runme_script
This commit is contained in:
parent
41fe55af87
commit
89dfb14605
1 changed files with 3 additions and 2 deletions
|
|
@ -35,6 +35,7 @@ SCRIPTDIR = .
|
||||||
# local variables
|
# local variables
|
||||||
TEST_DIR = $*.dir
|
TEST_DIR = $*.dir
|
||||||
RUNME_SCRIPT = $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
RUNME_SCRIPT = $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
||||||
|
SRC_RUNME_SCRIPT = $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
||||||
|
|
||||||
$(warning srcdir = "$(srcdir)" abspath = "$(abspath $(srcdir))")
|
$(warning srcdir = "$(srcdir)" abspath = "$(abspath $(srcdir))")
|
||||||
$(warning SRCDIR = "$(SRCDIR)" abspath = "$(abspath $(SRCDIR))")
|
$(warning SRCDIR = "$(SRCDIR)" abspath = "$(abspath $(SRCDIR))")
|
||||||
|
|
@ -59,9 +60,9 @@ $(warning SCRIPTDIR = "$(SCRIPTDIR)" abspath = "$(abspath $(SCRIPTDIR))")
|
||||||
# Logs the test case execution
|
# Logs the test case execution
|
||||||
# Copies files and creates directories needed for the test case
|
# Copies files and creates directories needed for the test case
|
||||||
setup = \
|
setup = \
|
||||||
if [ -f $(RUNME_SCRIPT) ]; then \
|
if [ -f $(SRC_RUNME_SCRIPT) ]; then \
|
||||||
echo "$(ACTION)ing testcase $* (with run test) under $(LANGUAGE)" ; \
|
echo "$(ACTION)ing testcase $* (with run test) under $(LANGUAGE)" ; \
|
||||||
cp $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) $(SCRIPTDIR); \
|
cp $(SRC_RUNME_SCRIPT) $(SCRIPTDIR); \
|
||||||
if [ ! -f $(SCRIPTDIR)/swigtest.start ]; then \
|
if [ ! -f $(SCRIPTDIR)/swigtest.start ]; then \
|
||||||
cp $(srcdir)/swigtest.start $(SCRIPTDIR); \
|
cp $(srcdir)/swigtest.start $(SCRIPTDIR); \
|
||||||
fi; \
|
fi; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue