Evan Benn has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/69621 )
Change subject: tests: Move SKIP_TEST macro to common header ......................................................................
tests: Move SKIP_TEST macro to common header
BUG=None BRANCH=None TEST=None
Change-Id: I6cca635212867dad5a8e391a46b1d943530c539a --- M tests/include/test.h M tests/lifecycle.h 2 files changed, 16 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/21/69621/1
diff --git a/tests/include/test.h b/tests/include/test.h index 88ac16d..ef0b9a6 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. diff --git a/tests/lifecycle.h b/tests/lifecycle.h index 69f1119..b4c2fbe 100644 --- a/tests/lifecycle.h +++ b/tests/lifecycle.h @@ -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);