mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Birdtest: Add BT_SUCCESS for success end of test
Add BT_FAILURE for bad end of test
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user