Guile executable. The new option --with-guile-prefix can be used to specify the tree where Guile is installed. (However, usually it suffices to use the single option --with-guile-config.) When running the run tests test-suite, make sure to use the version of Guile that SWIG was configured for. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
24 lines
907 B
Makefile
24 lines
907 B
Makefile
#######################################################################
|
|
# $Header$
|
|
# Makefile for guile test-suite (with SCM API)
|
|
#######################################################################
|
|
|
|
include ../guile/Makefile
|
|
|
|
VARIANT = _scm
|
|
# Refer to the guile directory for the run scripts
|
|
SCRIPTPREFIX = ../guile/
|
|
|
|
# Runs the testcase. A testcase is only run if
|
|
# a file is found which has _runme.scm appended after the testcase name.
|
|
run_testcase = \
|
|
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then ( \
|
|
env LD_LIBRARY_PATH=$(DYNAMIC_LIB_PATH):$$LD_LIBRARY_PATH $(GUILE) -l $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
|
|
fi;
|
|
|
|
setup = \
|
|
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
|
echo "Checking testcase $* (with run test) under $(LANGUAGE) (with SCM API)" ; \
|
|
else \
|
|
echo "Checking testcase $* under $(LANGUAGE) (with SCM API)" ; \
|
|
fi;
|