[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9803: [PATCH] Add ERT option to skip test
From: |
Michael Albinus |
Subject: |
bug#9803: [PATCH] Add ERT option to skip test |
Date: |
Tue, 22 Oct 2013 10:23:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> You want to use either `cl-flet' or `cl-macrolet', depending on whether
> you want to define skip-if as a local function or a local macro.
`cl-macrolet' does it, thanks! I will also handle `should', `should-not'
and `should-error' this way.
Meanwhile I'm thinking, we should introduce `skip-unless' instead of
`skip-if'. This would allow to catch errors, like this:
(skip-unless (ignore-errors (a-test-which-might-raise-a-signal)))
We could even move `ignore-errors' into `skip-unless'.
Opinions?
> Stefan
Best regards, Michael.
- bug#9803: [PATCH] Add ERT option to skip test, (continued)
- bug#9803: [PATCH] Add ERT option to skip test, Glenn Morris, 2013/10/18
- bug#9803: [PATCH] Add ERT option to skip test, Stefan Monnier, 2013/10/18
- bug#9803: [PATCH] Add ERT option to skip test, Michael Albinus, 2013/10/19
- bug#9803: [PATCH] Add ERT option to skip test, Michael Albinus, 2013/10/20
- bug#9803: [PATCH] Add ERT option to skip test, Michael Albinus, 2013/10/21
- bug#9803: [PATCH] Add ERT option to skip test, Stefan Monnier, 2013/10/21
- bug#9803: [PATCH] Add ERT option to skip test, Michael Albinus, 2013/10/21
- bug#9803: [PATCH] Add ERT option to skip test, Stefan Monnier, 2013/10/21
- bug#9803: [PATCH] Add ERT option to skip test,
Michael Albinus <=
- bug#9803: [PATCH] Add ERT option to skip test, Michael Albinus, 2013/10/23
- bug#9803: [PATCH] Add ERT option to skip test, Michael Albinus, 2013/10/24
- bug#9803: [PATCH] Add ERT option to skip test, Glenn Morris, 2013/10/24