Thu Mar 5 11:44:15 CST 2009 Pekka Pessi <first.last@nokia.com>

* s2check.h: redefine tcase_add_loop_test, too
  Ignore-this: 149c19e8d089b60e8ddcb98da54c9d88



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12733 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-03-24 15:32:49 +00:00
1 parent 70ddbdd6d6
commit 840735200e
3 files changed
+16 -9

No files matched your search

+9 -3
View File
@@ -42,10 +42,16 @@
SOFIA_BEGIN_DECLS
#undef tcase_add_test
/* Redirect tcase_add_test() to our function */
#define tcase_add_test(tc, tf) s2_tcase_add_test(tc, tf, "" #tf "")
#undef tcase_add_loop_test
void s2_tcase_add_test(TCase *, TFun, char const *name);
/* Redirect tcase_add_test() to our function */
#define tcase_add_test(tc, tf) s2_tcase_add_test(tc, tf, "" #tf "", 0, 0, 1)
void s2_tcase_add_test(TCase *, TFun, char const *name,
int signo, int start, int end);
#define tcase_add_loop_test(tc, tf, s, e) \
s2_tcase_add_test(tc, tf, "" #tf "", 0, (s), (e))
void s2_select_tests(char const *pattern);