X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=74ce1e028a888e15664cd24e2cf8b878ddc4c84c;hb=bcd323c39d6f5f80020ba4a5d9eb8d348c6cc499;hp=411c8b59abbea84f7cd6e82bdb5fb63d74bf0f66;hpb=95009657265e2af674bdfa9ce7dc75d819976e5b;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index 411c8b5..74ce1e0 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 '(or (not :x86-64) :win32)) + (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)