X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=5957ce000a0869ebe9c64d793d4b895d9109cf14;hb=6d9e2243954872457115bbb9ac1ecb1d161acced;hp=411c8b59abbea84f7cd6e82bdb5fb63d74bf0f66;hpb=95009657265e2af674bdfa9ce7dc75d819976e5b;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index 411c8b5..5957ce0 100644 --- a/tests/interface.pure.lisp +++ b/tests/interface.pure.lisp @@ -12,6 +12,10 @@ ;;;; more information. (in-package :cl-user) + +(load "test-util.lisp") +(load "compiler-test-util.lisp") +(use-package :test-util) ;;;; properties of symbols, e.g. presence of doc strings for public symbols @@ -57,12 +61,16 @@ (assert (not (special-operator-p 'declare))) ;;; WITH-TIMEOUT should accept more than one form in its body. -(with-test (:name :with-timeout-forms) +(with-test (:name :with-timeout-forms :fails-on :win32) (handler-bind ((sb-ext:timeout #'continue)) (sb-ext:with-timeout 3 (sleep 2) (sleep 2)))) +;;; SLEEP should not cons +(with-test (:name (sleep :non-consing) :fails-on '(not :x86-64)) + (ctu:assert-no-consing (sleep 0.00001))) + ;;; SLEEP should work with large integers as well -- no timers ;;; on win32, so don't test there. (with-test (:name (sleep pretty-much-forever) :skipped-on :win32)