Skip failing INLINE.
authorOlof-Joachim Frahm <olof@macrolet.net>
Tue, 6 Jan 2015 20:17:19 +0000 (20:17 +0000)
committerOlof-Joachim Frahm <olof@macrolet.net>
Tue, 6 Jan 2015 20:43:54 +0000 (20:43 +0000)
Which isn't honored on ACL, so just ignore it.

tests/functions.lisp

index 507ae38..676cd84 100644 (file)
 
 (def-test dflet.inline.works ()
   "If a function is declared INLINE (and that request is honored), DFLET
-won't work."
+won't work.  Not a failure, since we can't force INLINE."
   (dflet ((foo/inline () 42))
-    (is (eql 23 (foo/inline)))))
+    (if (eql 23 (foo/inline))
+        (pass "INLINE declaration honored, so DFLET fails")
+        (skip "INLINE declaration not honored, so DFLET works"))))
 
 (def-test dflet.notinline.works ()
   "If a function is declared INLINE, but NOTINLINE is used locally,