0.9.4.12:
authorBrian Mastenbrook <bmastenb@cs.indiana.edu>
Sun, 28 Aug 2005 02:26:45 +0000 (02:26 +0000)
committerBrian Mastenbrook <bmastenb@cs.indiana.edu>
Sun, 28 Aug 2005 02:26:45 +0000 (02:26 +0000)
Test fixes:
 * make sure we don't use :darwin when we mean (:and :ppc :darwin)
 * enable a test which passes on Darwin but was previously
   commented out (possibly due to insufficient memory space?)
 * use with-test to turn a floating-point traps test into an
   expected failure on PPC Darwin, where floating-point traps are not
   enabled.

tests/bit-vector.impure-cload.lisp
tests/callback.impure.lisp
tests/debug.impure.lisp
tests/float.pure.lisp
version.lisp-expr

index 470bf57..7809cc1 100644 (file)
     (assert (= (aref a 0) 1))
     (inform :aref-2)
     (assert (= (aref a (- array-dimension-limit 2)) 1))
-    #-darwin
-    (progn
-      (inform :bit-and)
-      (bit-and a b a)
-      (inform :aref-3)
-      (assert (= (aref a 0) 0))
-      (inform :aref-4)
-      (assert (= (aref a (- array-dimension-limit 2)) 0)))))
+    (inform :bit-and)
+    (bit-and a b a)
+    (inform :aref-3)
+    (assert (= (aref a 0) 0))
+    (inform :aref-4)
+    (assert (= (aref a (- array-dimension-limit 2)) 0))))
 
 (test-small-bit-vectors)
 
index 747ccf2..8dd89d7 100644 (file)
@@ -14,7 +14,7 @@
 (in-package :cl-user)
 
 ;;; callbacks only on a few platforms
-#-(or darwin x86)
+#-(or (and ppc darwin) x86)
 (quit :unix-status 104)
 
 ;;; simple callback for a function
index 6ff1481..a3f3fbb 100644 (file)
   (assert (search "TRACE-THIS" out))
   (assert (search "returned OK" out)))
 
-(with-test (:fails-on '(and :ppc :darwin))
-  ;;; bug 379
-  (let ((out (with-output-to-string (*trace-output*)
-               (trace trace-this :encapsulate nil)
-               (assert (eq 'ok (trace-this)))
-               (untrace))))
-    (assert (search "TRACE-THIS" out))
-    (assert (search "returned OK" out))))
+;;; bug 379
+#-(and ppc darwin)
+(let ((out (with-output-to-string (*trace-output*)
+             (trace trace-this :encapsulate nil)
+             (assert (eq 'ok (trace-this)))
+             (untrace))))
+  (assert (search "TRACE-THIS" out))
+  (assert (search "returned OK" out)))
 
 ;;;; test infinite error protection
 
index cebcc4e..0e2d57b 100644 (file)
@@ -92,7 +92,7 @@
 (assert (= 0.0 (scale-float 1.0 most-negative-fixnum)))
 (assert (= 0.0d0 (scale-float 1.0d0 (1- most-negative-fixnum))))
 
-(with-test (:fails-on '(or :darwin)) ;; bug 372
+(with-test (:fails-on '(or :ppc)) ;; bug 372
   (progn
     (assert (raises-error? (scale-float 1.0 most-positive-fixnum)
                            floating-point-overflow))
    #c(1.0d0 2.0d0))
     'double-float))
 
-(assert (typep (nth-value
-                1
-                (ignore-errors
-                  (sb-sys:without-interrupts
-                    (loop repeat 2 summing most-positive-double-float)
-                    (sleep 2))))
-               'floating-point-overflow))
+(with-test (:fails-on '(or :ppc))
+  (assert (typep (nth-value
+                  1
+                  (ignore-errors
+                    (sb-sys:without-interrupts
+                     (loop repeat 2 summing most-positive-double-float)
+                     (sleep 2))))
+                 'floating-point-overflow)))
\ No newline at end of file
index 06af1b2..5094781 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".)
-"0.9.4.11"
+"0.9.4.12"