Slight simplification of test-suite build for new out-of-source changes

Provide default SRCDIR and SCRIPTDIR variables in common.mk and override
only where needed.
This commit is contained in:
William S Fulton 2014-05-13 23:30:00 +01:00
commit 2b5499a262
25 changed files with 9 additions and 134 deletions

View file

@ -4,17 +4,11 @@
LANGUAGE = tcl
TCLSH = tclsh
SCRIPTDIR = $(srcdir)
SCRIPTSUFFIX = _runme.tcl
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
ifeq (.,$(srcdir))
SRCDIR =
else
SRCDIR = $(srcdir)/
endif
CPP_TEST_CASES += \
primitive_types \