mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-09 10:31:53 +00:00
Birdtest: Add BT_SUCCESS for success end of test
Add BT_FAILURE for bad end of test
This commit is contained in:
parent
0bbfd59dce
commit
4e4ed8dd4e
@ -21,6 +21,9 @@ extern const char *bt_test_id;
|
||||
void bt_init(int argc, char **argv);
|
||||
void bt_test_case2(int (*fn)(void), const char *id, const char *dsc, int forked, int timeout);
|
||||
|
||||
#define BT_SUCCESS 0
|
||||
#define BT_FAILURE 1
|
||||
|
||||
#define bt_test_case(fn,dsc,f,t) \
|
||||
bt_test_case2(fn, #fn, dsc, f, t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user