X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;fp=tests%2Finterface.pure.lisp;h=d7f1835584927eb5be9586649f2e22d38ed40271;hb=567588a0316e6202e5158b8a9ff773b9e6d03762;hp=411c8b59abbea84f7cd6e82bdb5fb63d74bf0f66;hpb=97dd06859cae90c8ef9021dafe1beebb78b1547f;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index 411c8b5..d7f1835 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)) + (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)