From 72fb0094f3d3149a2163a59cc6cbe41fa75d888d Mon Sep 17 00:00:00 2001
From: Francois-Rene Rideau <fare@tunes.org>
Date: Mon, 21 Mar 2011 13:15:37 -0400
Subject: [PATCH] Test forward references with SBCL

---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 09d5492b..5cfdab66 100644
--- a/Makefile
+++ b/Makefile
@@ -62,10 +62,13 @@ mrproper: clean
 	rm -rf .pc/ build-stamp debian/patches/ debian/debhelper.log debian/cl-asdf/ # debian crap
 
 
-test: FORCE
+test-forward-references: FORCE
+	if [ -f /usr/lib/sbcl/sbcl-dist.core ] ; then SBCL="/usr/bin/sbcl --core /usr/lib/sbcl/sbcl-dist.core" ; fi ; $${SBCL:-sbcl} --noinform --load ~/cl/asdf/asdf.lisp --eval '(sb-ext:quit)' 2>&1 | cmp - /dev/null
+
+test: test-forward-references
 	@cd test; make clean;./run-tests.sh ${lisp} ${test-glob}
 
-test-all: FORCE
+test-all: test-forward-references
 	@for lisp in ${lisps} ; do \
 		make test lisp=$$lisp || exit 1 ; \
 	done
-- 
GitLab