X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed53116f5e65b9127d95190df00fdd050c6be04e..ffd3399be33c589c5a5e720958f6351fdf9b0706:/tools/sg_unit_extractor.pl diff --git a/tools/sg_unit_extractor.pl b/tools/sg_unit_extractor.pl index f3f08cd13f..9ef69f986c 100755 --- a/tools/sg_unit_extractor.pl +++ b/tools/sg_unit_extractor.pl @@ -98,6 +98,7 @@ int main(int argc, char *argv[]) { xbt_test_suite_t suite; char selection[1024]; int i;\n + int res;\n /* SGU: BEGIN SUITES DECLARATION */ /* SGU: END SUITES DECLARATION */ @@ -146,7 +147,10 @@ int main(int argc, char *argv[]) { } /* Got all my tests to do */ - return xbt_test_run(selection); + res = xbt_test_run(selection); + xbt_test_exit(); + xbt_exit(); + return res; } EOF print OUT $GENERATED;