Make guile test suite default to scm api
In other words guilescm becomes guile. Deprecated gh api tests are moved to guilegh.
This commit is contained in:
parent
e0e4a4db6d
commit
7dfe4a0653
7 changed files with 27 additions and 41 deletions
|
|
@ -2,14 +2,16 @@
|
|||
# Makefile for guile test-suite
|
||||
#######################################################################
|
||||
|
||||
EXTRA_TEST_CASES += guile_ext_test.externaltest
|
||||
|
||||
LANGUAGE = guile
|
||||
VARIANT = _gh
|
||||
VARIANT =
|
||||
SCRIPTSUFFIX = _runme.scm
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
GUILE = @GUILE@
|
||||
GUILE_RUNTIME=-runtime
|
||||
GUILE_RUNTIME=
|
||||
|
||||
C_TEST_CASES = long_long \
|
||||
list_vector \
|
||||
|
|
@ -20,7 +22,7 @@ C_TEST_CASES = long_long \
|
|||
include $(srcdir)/../common.mk
|
||||
|
||||
# Overridden variables here
|
||||
# none!
|
||||
INCLUDES += -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/guile
|
||||
|
||||
# Custom tests - tests with additional commandline options
|
||||
%.multicpptest: SWIGOPT += $(GUILE_RUNTIME)
|
||||
|
|
@ -41,6 +43,11 @@ include $(srcdir)/../common.mk
|
|||
+$(swig_and_compile_multi_cpp)
|
||||
$(run_testcase)
|
||||
|
||||
%.externaltest:
|
||||
$(setup)
|
||||
+$(swig_and_compile_external)
|
||||
$(run_testcase)
|
||||
|
||||
# Runs the testcase. A testcase is only run if
|
||||
# a file is found which has _runme.scm appended after the testcase name.
|
||||
run_testcase = \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue