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
|
||||
TEST_DIR = $*.dir
|
||||
RUNME_SCRIPT = $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
||||
SRC_RUNME_SCRIPT = $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
|
||||
|
||||
$(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
|
||||
# Copies files and creates directories needed for the test case
|
||||
setup = \
|
||||
if [ -f $(RUNME_SCRIPT) ]; then \
|
||||
if [ -f $(SRC_RUNME_SCRIPT) ]; then \
|
||||
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 \
|
||||
cp $(srcdir)/swigtest.start $(SCRIPTDIR); \
|
||||
fi; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue