From 19ce6be68fdac3deb8077eaf556d2b31aad11474 Mon Sep 17 00:00:00 2001 From: Martin Nilsson <mani@lysator.liu.se> Date: Sun, 14 Dec 2003 21:37:06 +0100 Subject: [PATCH] Build tests found in extra_tests Rev: src/Makefile.in:1.375 --- src/Makefile.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 66e7e8b35b..1ad4a6f78c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,5 +1,5 @@ # -# $Id: Makefile.in,v 1.374 2003/12/07 16:14:34 marcus Exp $ +# $Id: Makefile.in,v 1.375 2003/12/14 20:37:06 nilsson Exp $ # # This line is needed on some machines. @@ -427,6 +427,7 @@ tidy: # make clean clean_here: tidy doc_clean -( cd tlib; find . -name testsuite | xargs rm ) + -( cd extra_tests; find . -name testsuite | xargs rm ) -rm -f confdefs.h conftest.* -rm -rf test-install test-pike -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out pike.tmp @@ -451,7 +452,7 @@ spotless: clean_here -rm -f lexical.c mon.out *.ln -rm -f pike pike.old l.outa* num_files_to_install -rm -f precompile.sh precompile.sh-stamp smartlink - -rm -rf tlib lib precompile + -rm -rf tlib extra_tests lib precompile distclean: spotless @@ -474,8 +475,13 @@ TAGS: testsuites: ( cd modules && $(MAKE) $(MAKE_FLAGS) testsuites ) ( cd post_modules && $(MAKE) $(MAKE_FLAGS) testsuites ) - ( cd $(TMP_BUILDDIR) && $(TMP_BINDIR)/mklibtests.sh --srcdir=$(LIBDIR_SRC) \ + ( cd $(TMP_BUILDDIR) && $(TMP_BINDIR)/mklibtests.sh \ + --srcdir=$(LIBDIR_SRC) \ --destdir=tlib --bindir=$(TMP_BINDIR) ) + if test -d "$(BASEDIR)/extra_tests" ; then \ + (cd "$(TMP_BUILDDIR)" && $(TMP_BINDIR)/mklibtests.sh \ + --srcdir="$(BASEDIR)/extra_tests" \ + --destdir=extra_tests --bindir=$(TMP_BINDIR) ) ; fi; just_verify: testsuites testsuite master-stamp if test "x$(TESTARGS)" = x ; then args="-a -v" ; \ -- GitLab