diff options
author | Evan Benn <evanbenn@chromium.org> | 2022-11-15 14:57:27 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-11-28 11:42:07 +0000 |
commit | de016a17f25c71b4688781c7ca1b611cb9681694 (patch) | |
tree | 33397c021dc22a0309193cef180771668a3dcef5 /tests/include | |
parent | 8edd60e6c2dce047cfb120eadaedbea1bed4560d (diff) | |
download | flashrom-de016a17f25c71b4688781c7ca1b611cb9681694.tar.gz flashrom-de016a17f25c71b4688781c7ca1b611cb9681694.tar.bz2 flashrom-de016a17f25c71b4688781c7ca1b611cb9681694.zip |
tests: Move SKIP_TEST macro to common header
BUG=None
BRANCH=None
TEST=None
Change-Id: I6cca635212867dad5a8e391a46b1d943530c539a
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69621
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests/include')
-rw-r--r-- | tests/include/test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include/test.h b/tests/include/test.h index 88ac16d9..ef0b9a6f 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -31,6 +31,9 @@ #define MOCK_FD (0x10ec) +#define SKIP_TEST(name) \ + void name (void **state) { skip(); } + /* * Having this as function allows to set a breakpoint on the address, * as it has a named symbol associated with the address number. |