[Gd-chatter] r11463 - trunk/fundev

housel at gwydiondylan.org housel at gwydiondylan.org
Fri Sep 28 17:54:58 CEST 2007


Author: housel
Date: Fri Sep 28 17:54:57 2007
New Revision: 11463

Modified:
   trunk/fundev/Makefile.in
   trunk/fundev/configure.ac
Log:
Bug: 7362
Build and run testworks suites for "make check".

* configure.ac: Add a '--with-library-source' option to specify where
  on the local system the Dylan contributed libraries directory is found.

* Makefile.in: Add references to the contributed libraries registry where
  needed.  Compile and run all of the currently workable testworks suites for
  "make check".


Modified: trunk/fundev/Makefile.in
==============================================================================
--- trunk/fundev/Makefile.in	(original)
+++ trunk/fundev/Makefile.in	Fri Sep 28 17:54:57 2007
@@ -15,6 +15,8 @@
 
 FDCOMPILE	= @FDCOMPILE@
 
+library_srcdir	= @with_library_source@
+
 LIBRARY_PACKS	= @LIBRARY_PACKS@
 
 all:	@bootstrap_target@
@@ -156,7 +158,7 @@
 	OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.final/logs \
 	OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.final \
 	OPEN_DYLAN_USER_INSTALL=$(prefix) \
-	OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry \
+	OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry:$(library_srcdir)/registry \
 	OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources \
 	OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.final/build
 
@@ -190,7 +192,30 @@
 
 dist:
 
-check:
+CHECK_STAGE = 3
+
+CHECK_APPS = \
+	libraries-test-suite-app \
+	c-ffi-test-suite-app \
+	duim-test-suite-app \
+	deuce-test-suite-app \
+	channels-tests
+
+check:	stage-$(CHECK_STAGE)-bootstrap
+	@OPEN_DYLAN_PLATFORM_NAME=$(fd_build) \
+	  OPEN_DYLAN_RELEASE_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
+	  OPEN_DYLAN_RELEASE_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
+	  OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/logs \
+	  OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
+	  OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
+	  OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry:$(library_srcdir)/registry \
+	  OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources \
+	  OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build \
+	  $(fdmake) --compiler="Bootstrap.$(CHECK_STAGE)/bin/minimal-console-compiler -build -save" \
+		$(CHECK_APPS)
+	for app in $(CHECK_APPS); do \
+	  ./Bootstrap.$(CHECK_STAGE)/bin/$$app; \
+	done
 
 installcheck:
 

Modified: trunk/fundev/configure.ac
==============================================================================
--- trunk/fundev/configure.ac	(original)
+++ trunk/fundev/configure.ac	Fri Sep 28 17:54:57 2007
@@ -63,9 +63,14 @@
 
 AC_ARG_WITH(mps,
             AC_HELP_STRING([--with-mps=PATH],
-                            [Path to MPS location.]))
+                            [Path to MPS distribution and build.]))
 AC_SUBST(with_mps)
 
+AC_ARG_WITH(library-source,
+            AC_HELP_STRING([--with-library-source=PATH],
+                           [Path to Dylan contributed libraries source.]))
+AC_SUBST(with_library_source)
+
 AC_MSG_CHECKING(for Library Packs to include)
 LIBRARY_PACKS=Core
 AC_ARG_ENABLE(network,



More information about the chatter mailing list