X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..d177472fea36c2a8f780637477591025663d30a4:/include/xbt/cunit.h diff --git a/include/xbt/cunit.h b/include/xbt/cunit.h index ac5c5ca12f..ec4c43ab94 100644 --- a/include/xbt/cunit.h +++ b/include/xbt/cunit.h @@ -31,7 +31,7 @@ XBT_PUBLIC(xbt_test_suite_t) xbt_test_suite_new (const char *name,const char *f XBT_PUBLIC(xbt_test_suite_t) xbt_test_suite_by_name(const char *name,const char *fmt, ...); XBT_PUBLIC(void) xbt_test_suite_dump (xbt_test_suite_t suite); XBT_PUBLIC(void) xbt_test_suite_push (xbt_test_suite_t suite, const char *name, - ts_test_cb_t func, const char *fmt, ...); + ts_test_cb_t func, const char *fmt, ...); /* Run all the specified tests. what_to_do allows to disable some tests. * It is a coma (,) separated list of directives. They are applied from left to right. @@ -52,6 +52,8 @@ XBT_PUBLIC(void) xbt_test_suite_push (xbt_test_suite_t suite, const XBT_PUBLIC(int) xbt_test_run(char *selection); /* Show information about the selection of tests */ XBT_PUBLIC(void) xbt_test_dump(char *selection); +/* Cleanup the mess */ +XBT_PUBLIC(void) xbt_test_exit(void); /* test operations */ XBT_PUBLIC(void) _xbt_test_add(const char*file,int line, const char *fmt, ...)_XBT_GNUC_PRINTF(3,4);