X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=1e76ccd3cff49094bc1e3662f8073a7d7c7e061a;hb=219cc40793f9c82fb943b29a1846f898f4f9de1e;hp=411c8b59abbea84f7cd6e82bdb5fb63d74bf0f66;hpb=95009657265e2af674bdfa9ce7dc75d819976e5b;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index 411c8b5..1e76ccd 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 @@ -63,6 +67,10 @@ (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)