A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make cunit memory clean
[simgrid.git]
/
tools
/
sg_unit_extractor.pl
diff --git
a/tools/sg_unit_extractor.pl
b/tools/sg_unit_extractor.pl
index
f3f08cd
..
9ef69f9
100755
(executable)
--- 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
xbt_test_suite_t suite;
char selection[1024];
int i;\n
+ int res;\n
/* SGU: BEGIN SUITES DECLARATION */
/* SGU: END SUITES DECLARATION */
/* SGU: BEGIN SUITES DECLARATION */
/* SGU: END SUITES DECLARATION */
@@
-146,7
+147,10
@@
int main(int argc, char *argv[]) {
}
/* Got all my tests to do */
}
/* 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;
}
EOF
print OUT $GENERATED;