X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed53116f5e65b9127d95190df00fdd050c6be04e..bea7d471e30c245e71b6276dcdcd420f8e9d088f:/tools/sg_unit_extractor.pl diff --git a/tools/sg_unit_extractor.pl b/tools/sg_unit_extractor.pl index f3f08cd13f..30686a70d1 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,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; } EOF print OUT $GENERATED;