summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Templeton <robin@terpri.org>2015-05-10 17:41:12 -0400
committerRicardo Wurmus <rekado@elephly.net>2020-04-04 19:22:06 +0200
commit86ca2873da59b1c50e5f50a537e5b2432bca96ed (patch)
tree8bee8d2c0a73408e2b9108f4dc1e40bda914d56b
parent29cb4db3f3b3b50f83f39432f0d151452903128a (diff)
ignore 'expect-fail' forms in elisp tests
(Best-ability ChangeLog annotation added by Christopher Allan Webber.) * test-suite/tests/elisp-compiler.test (compile-test): Update to support expect-fail.
-rw-r--r--test-suite/tests/elisp-compiler.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/test-suite/tests/elisp-compiler.test b/test-suite/tests/elisp-compiler.test
index 1157afbb9..6998e654b 100644
--- a/test-suite/tests/elisp-compiler.test
+++ b/test-suite/tests/elisp-compiler.test
@@ -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 ()