Birdtest: Add BT_SUCCESS for success end of test

Add BT_FAILURE for bad end of test
This commit is contained in:
Pavel Tvrdík
2015-03-13 18:30:03 +01:00
parent 0bbfd59dce
commit 4e4ed8dd4e
+3
View File
@@ -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)