From 550e4f934eb20c860a1a433b41bc7a8cf0be6da3 Mon Sep 17 00:00:00 2001
From: Francois-Rene Rideau <fare@tunes.org>
Date: Tue, 16 Mar 2010 20:05:23 -0400
Subject: [PATCH] Fix run-tests to the actually use the $flags, which one of my
 previous refactorings broke. (Thanks to Mark Evenson)

---
 test/run-tests.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/run-tests.sh b/test/run-tests.sh
index 9555c6e6..60273c04 100755
--- a/test/run-tests.sh
+++ b/test/run-tests.sh
@@ -52,7 +52,7 @@ usage () {
 }
 
 do_tests() {
-  command=$1 eval=$2
+  command="$1" eval="$2"
   rm -f ~/.cache/common-lisp/"`pwd`"/* || true
   ( cd .. && $command $eval '(load "test/compile-asdf.lisp")' )
   if [ $? -ne 0 ] ; then
@@ -181,6 +181,7 @@ if [ -z "$command" ] ; then
 else
     create_config
     mkdir -p results
+    command="$command $flags"
     echo $command
     thedate=`date "+%Y-%m-%d"`
     do_tests "$command" "$eval" 2>&1 | \
-- 
GitLab