diff --git a/tests/include/test.h b/tests/include/test.h index 88ac16d93..ef0b9a6f6 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 69f111969..b4c2fbedd 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);