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
split windows and linux backtrace setup out of the main exception file
[simgrid.git]
/
src
/
simgrid_units_main.c
diff --git
a/src/simgrid_units_main.c
b/src/simgrid_units_main.c
index
7e5de8d
..
f65097e
100644
(file)
--- 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 */
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 */
/*******************************/
/* GENERATED FILE, DO NOT EDIT */
@@
-71,6
+67,8
@@
int main(int argc, char *argv[]) {
char selection[1024];
int i;
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");
/* 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 */
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);
/* SGU: END SUITES DECLARATION */
xbt_init(&argc,argv);
@@
-180,7
+173,9
@@
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_exit();
+ return res;
}
/*******************************/
/* GENERATED FILE, DO NOT EDIT */
}
/*******************************/
/* GENERATED FILE, DO NOT EDIT */