X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5dac8b8bdde8be418dedb56d7b05a4ab5ec4d7af..c644d95f72f72a7a81885dc809a372e0880fdf1b:/src/simgrid_units_main.c diff --git a/src/simgrid_units_main.c b/src/simgrid_units_main.c index 0a9271fc84..f65097ecb5 100644 --- a/src/simgrid_units_main.c +++ b/src/simgrid_units_main.c @@ -48,6 +48,7 @@ extern xbt_test_unit_t _xbt_current_unit; /* SGU: BEGIN FILE xbt/xbt_str.c */ void test_split_quoted(void); + void test_split_str(void); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/config.c */ @@ -56,7 +57,6 @@ extern xbt_test_unit_t _xbt_current_unit; void test_config_use(void); /* SGU: END FILE */ -/* SGU: END PROTOTYPES */ /*******************************/ /* GENERATED FILE, DO NOT EDIT */ @@ -67,6 +67,8 @@ int main(int argc, char *argv[]) { char selection[1024]; int i; + int res; + /* SGU: BEGIN SUITES DECLARATION */ /* SGU: BEGIN FILE xbt/cunit.c */ suite = xbt_test_suite_by_name("cunit","Testsuite mechanism autotest"); @@ -114,6 +116,7 @@ int main(int argc, char *argv[]) { /* SGU: BEGIN FILE xbt/xbt_str.c */ suite = xbt_test_suite_by_name("xbt_str","String Handling"); xbt_test_suite_push(suite, "xbt_str_split_quoted", test_split_quoted, "test the function xbt_str_split_quoted"); + xbt_test_suite_push(suite, "xbt_str_split_str", test_split_str, "test the function xbt_str_split_str"); /* SGU: END FILE */ /* SGU: BEGIN FILE xbt/config.c */ @@ -170,7 +173,9 @@ int main(int argc, char *argv[]) { } /* Got all my tests to do */ - return xbt_test_run(selection); + res = xbt_test_run(selection); + xbt_exit(); + return res; } /*******************************/ /* GENERATED FILE, DO NOT EDIT */