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
Merge pull request #200 from Takishipp/clear_fct
[simgrid.git]
/
src
/
xbt
/
cunit.cpp
diff --git
a/src/xbt/cunit.cpp
b/src/xbt/cunit.cpp
index
8008c3e
..
eac5f1a
100644
(file)
--- a/
src/xbt/cunit.cpp
+++ b/
src/xbt/cunit.cpp
@@
-250,8
+250,6
@@
static int xbt_test_suite_run(xbt_test_suite_t suite, int verbosity)
xbt_test_test_t test;
xbt_test_log_t log;
xbt_test_test_t test;
xbt_test_log_t log;
- unsigned int it_test;
-
if (suite == nullptr)
return 0;
if (suite == nullptr)
return 0;
@@
-297,6
+295,7
@@
static int xbt_test_suite_run(xbt_test_suite_t suite, int verbosity)
unit->func();
/* iterate through all performed tests to determine status */
unit->func();
/* iterate through all performed tests to determine status */
+ unsigned int it_test;
xbt_dynar_foreach(unit->tests, it_test, test) {
if (test->ignored) {
unit->test_ignore++;
xbt_dynar_foreach(unit->tests, it_test, test) {
if (test->ignored) {
unit->test_ignore++;