X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7903b662927d5080f04fc4a6646ef7ca311eeaca..3347e271cd0ddb7da133ad0e66826cb559e1dd14:/src/simgrid_units_main.c diff --git a/src/simgrid_units_main.c b/src/simgrid_units_main.c index 7e5de8d0f4..f65097ecb5 100644 --- a/src/simgrid_units_main.c +++ b/src/simgrid_units_main.c @@ -57,10 +57,6 @@ extern xbt_test_unit_t _xbt_current_unit; void test_config_use(void); /* SGU: END FILE */ - /* SGU: BEGIN FILE ./xbt/cunit.c */ - void test_expected_failure(void); - /* SGU: END FILE */ - /*******************************/ /* GENERATED FILE, DO NOT EDIT */ @@ -71,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"); @@ -128,11 +126,6 @@ int main(int argc, char *argv[]) { xbt_test_suite_push(suite, "use", test_config_use, "Data retrieving tests"); /* SGU: END FILE */ - /* SGU: BEGIN FILE ./xbt/cunit.c */ - suite = xbt_test_suite_by_name("cunit","Testsuite mechanism autotest"); - xbt_test_suite_push(suite, "expect", test_expected_failure, "expected failures"); - /* SGU: END FILE */ - /* SGU: END SUITES DECLARATION */ xbt_init(&argc,argv); @@ -180,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 */