diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/include/test.h | 3 | ||||
| -rw-r--r-- | tests/lifecycle.h | 3 | 
2 files changed, 3 insertions, 3 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. diff --git a/tests/lifecycle.h b/tests/lifecycle.h index 69f11196..b4c2fbed 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); | 
