[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: |
Wed, 23 Oct 2013 14:21:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Michael Albinus <michael.albinus@gmx.de> writes:
> 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.
Well, it works only for tests which use `should', `should-not' and
`should-error' in the body of `ert-deftest'. Unfortunately, there are
several tests which use helper functions, calling `should' and
friends. For those tests it doesn't work this way.
Since this is not related to the `skip-unless' check, I will commit just
a patch introducing this macro. Changing the scope of `should',
`should-not' and `should-error' could be fixed later.
>> Stefan
Best regards, Michael.
- bug#9803: [PATCH] Add ERT option to skip test, (continued)
- 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, 2013/10/22
- bug#9803: [PATCH] Add ERT option to skip test,
Michael Albinus <=
- 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