1.0.24.38: improve test scripts
authorGabor Melis <mega@hotpop.com>
Mon, 12 Jan 2009 14:57:08 +0000 (14:57 +0000)
committerGabor Melis <mega@hotpop.com>
Mon, 12 Jan 2009 14:57:08 +0000 (14:57 +0000)
- robustify threads.test.sh even more
- fix the same bug related to $! in finalize.test.sh
- make condition-wait-sigcont.lisp work unithread builds

tests/condition-wait-sigcont.lisp
tests/finalize.test.sh
tests/threads.test.sh
version.lisp-expr

index 35adec7..04fd5cd 100644 (file)
   (write-line "/waiting")
   (force-output)
   (delete-file "condition-wait-sigcont.tmp")
+  #+sb-thread
   (condition-wait *queue* *lock*)
+  #-sb-thread
+  (loop (sleep 10))
   (write-line "/woken")
   (force-output)
   (with-open-file (f "condition-wait-sigcont.tmp" :direction :output)
index e2ef1bc..ded7232 100644 (file)
@@ -10,7 +10,8 @@ use_test_subdirectory
 
 echo //entering finalize.test.sh
 
-run_sbcl <<EOF > /dev/null &
+# $! is not set correctly when calling run_sbcl, do it directly
+"$SBCL_RUNTIME" --core "$SBCL_CORE" $SBCL_ARGS <<EOF > /dev/null &
 (defvar *tmp* 0.0)
 (defvar *count* 0)
 
index f266944..cc2de11 100644 (file)
@@ -18,8 +18,7 @@ flag="condition-wait-sigcont.tmp"
 touch $flag
 
 # $! is not set correctly when calling run_sbcl, do it directly
-"$SBCL_RUNTIME" --core "$SBCL_CORE" \
-    --no-userinit --no-sysinit --disable-debugger \
+"$SBCL_RUNTIME" --core "$SBCL_CORE" $SBCL_ARGS \
     --load "$SBCL_PWD/condition-wait-sigcont.lisp" &
 sb_pid=$!
 
index ba0cdd9..7fdd6c7 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.24.37"
+"1.0.24.38"