ignore 'expect-fail' forms in elisp tests
authorRobin Templeton <robin@terpri.org>
Sun, 10 May 2015 21:41:12 +0000 (17:41 -0400)
committerRobin Templeton <robin@terpri.org>
Sun, 10 May 2015 21:41:12 +0000 (17:41 -0400)
test-suite/tests/elisp-compiler.test

index ddfa80a..1e40dc0 100644 (file)
@@ -36,7 +36,9 @@
                                 (compile 'exp #:from 'elisp #:to 'value))))
     ((_ (pass-if-exception test-name exc exp))
      (pass-if-exception test-name exc
-                        (compile 'exp #:from 'elisp #:to 'value)))))
+                        (compile 'exp #:from 'elisp #:to 'value)))
+    ((_ (expect-fail test-name exp))
+     #f)))
 
 (define-syntax with-test-prefix/compile
   (syntax-rules ()