From 4e4ed8dd4e3d369ec42103454fece82a8f130716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Fri, 13 Mar 2015 18:30:03 +0100 Subject: [PATCH] Birdtest: Add BT_SUCCESS for success end of test Add BT_FAILURE for bad end of test --- birdtest/birdtest.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/birdtest/birdtest.h b/birdtest/birdtest.h index 3ca8e5b8..397d22d8 100644 --- a/birdtest/birdtest.h +++ b/birdtest/birdtest.h @@ -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)