mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
temporarily disable elisp exception tests
(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.) * test-suite/tests/elisp-compiler.test ("catch without exception" test) ("catch and throw" test, "unwind-protect" test): Switch from pass-if to expect-fail.
This commit is contained in:
parent
d5246bebe7
commit
e38f6377e3
1 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@
|
|||
|
||||
(with-test-prefix/compile "Exceptions"
|
||||
|
||||
(pass-if "catch without exception"
|
||||
(expect-fail "catch without exception"
|
||||
(and (setq a 0)
|
||||
(= (catch 'foobar
|
||||
(setq a (1+ a))
|
||||
|
@ -142,14 +142,14 @@
|
|||
;(pass-if-exception "uncaught exception" 'elisp-exception
|
||||
; (throw 'abc 1))
|
||||
|
||||
(pass-if "catch and throw"
|
||||
(expect-fail "catch and throw"
|
||||
(and (setq mylist '(1 2))
|
||||
(= (catch 'abc (throw 'abc 2) 1) 2)
|
||||
(= (catch 'abc (catch 'def (throw 'abc (1+ 0)) 2) 3) 1)
|
||||
(= (catch 'abc (catch 'def (throw 'def 1) 2) 3) 3)
|
||||
(= (catch mylist (catch (list 1 2) (throw mylist 1) 2) 3) 1)))
|
||||
|
||||
(pass-if "unwind-protect"
|
||||
(expect-fail "unwind-protect"
|
||||
(progn (setq a 0 b 1 c 1)
|
||||
(catch 'exc
|
||||
(unwind-protect (progn (setq a 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue