1.0.15.3: Have PROBE-FILE return NIL whenever a truename can't be found.
[sbcl.git] / tests / timer.impure.lisp
index 8531430..0c8bca3 100644 (file)
@@ -17,7 +17,8 @@
   `(handler-case (progn (progn ,@body) nil)
     (sb-ext:timeout () t)))
 
-(with-test (:name (:timer :relative))
+(with-test (:name (:timer :relative)
+            :fails-on '(and :sparc :linux))
   (let* ((has-run-p nil)
          (timer (make-timer (lambda () (setq has-run-p t))
                             :name "simple timer")))
@@ -28,7 +29,8 @@
     (assert has-run-p)
     (assert (zerop (length (sb-impl::%pqueue-contents sb-impl::*schedule*))))))
 
-(with-test (:name (:timer :absolute))
+(with-test (:name (:timer :absolute)
+            :fails-on '(and :sparc :linux))
   (let* ((has-run-p nil)
          (timer (make-timer (lambda () (setq has-run-p t))
                             :name "simple timer")))
@@ -57,7 +59,8 @@
                  :thread t)))
     (schedule-timer timer 0.1)))
 
-(with-test (:name (:timer :repeat-and-unschedule))
+(with-test (:name (:timer :repeat-and-unschedule)
+            :fails-on '(and :sparc :linux))
   (let* ((run-count 0)
          timer)
     (setq timer
 (defun random-type (n)
   `(integer ,(random n) ,(+ n (random n))))
 
+;;; FIXME: Since timeouts do not work on Windows this would loop
+;;; forever.
+#-win32
 (with-test (:name '(:hash-cache :interrupt))
   (let* ((type1 (random-type 500))
          (type2 (random-type 500))