mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
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>
This commit is contained in:
parent
8edd60e6c2
commit
de016a17f2
@ -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.
|
||||
|
@ -28,9 +28,6 @@
|
||||
#include "programmer.h"
|
||||
#include "spi.h"
|
||||
|
||||
#define SKIP_TEST(name) \
|
||||
void name (void **state) { skip(); }
|
||||
|
||||
void run_basic_lifecycle(void **state, const struct io_mock *io,
|
||||
const struct programmer_entry *prog, const char *param);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user