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 #1 from mquinson/master
[simgrid.git]
/
src
/
xbt
/
cunit.c
diff --git
a/src/xbt/cunit.c
b/src/xbt/cunit.c
index
a3798ee
..
58e7fc7
100644
(file)
--- a/
src/xbt/cunit.c
+++ b/
src/xbt/cunit.c
@@
-1,6
+1,6
@@
/* cunit - A little C Unit facility */
/* cunit - A little C Unit facility */
-/* Copyright (c) 2005
, 2006, 2007, 2008, 2009, 2010
. The SimGrid Team.
+/* Copyright (c) 2005
-2014
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-8,7
+8,7
@@
/* This is partially inspirated from the OSSP ts (Test Suite Library) */
/* This is partially inspirated from the OSSP ts (Test Suite Library) */
-#include "portable.h"
+#include "
src/
portable.h"
#include "xbt/sysdep.h" /* bvprintf */
#include "xbt/cunit.h"
#include "xbt/sysdep.h" /* bvprintf */
#include "xbt/cunit.h"
@@
-444,7
+444,6
@@
static int xbt_test_suite_run(xbt_test_suite_t suite, int verbosity)
if (suite->unit_disabled) {
fprintf(stderr, "%s%d disabled", (first ? "" : ", "),
suite->unit_disabled);
if (suite->unit_disabled) {
fprintf(stderr, "%s%d disabled", (first ? "" : ", "),
suite->unit_disabled);
- first = 0;
}
fprintf(stderr, ")\n Tests: %.0f%% ok (%d tests: ",
suite->nb_tests
}
fprintf(stderr, ")\n Tests: %.0f%% ok (%d tests: ",
suite->nb_tests
@@
-471,7
+470,6
@@
static int xbt_test_suite_run(xbt_test_suite_t suite, int verbosity)
if (suite->test_expect) {
fprintf(stderr, "%s%d expected to fail", (first ? "" : "; "),
suite->test_expect);
if (suite->test_expect) {
fprintf(stderr, "%s%d expected to fail", (first ? "" : "; "),
suite->test_expect);
- first = 0;
}
fprintf(stderr, ")\n");
}
}
fprintf(stderr, ")\n");
}
@@
-647,7
+645,6
@@
int xbt_test_run(char *selection, int verbosity)
if (_xbt_test_suite_ignore) {
fprintf(stderr, "%s%d ignored", (first ? "" : ", "),
_xbt_test_suite_ignore);
if (_xbt_test_suite_ignore) {
fprintf(stderr, "%s%d ignored", (first ? "" : ", "),
_xbt_test_suite_ignore);
- first = 0;
}
fprintf(stderr, ")\n Units: %.0f%% ok (%d units: ",
_xbt_test_nb_units
}
fprintf(stderr, ")\n Units: %.0f%% ok (%d units: ",
_xbt_test_nb_units
@@
-669,7
+666,6
@@
int xbt_test_run(char *selection, int verbosity)
if (_xbt_test_unit_ignore) {
fprintf(stderr, "%s%d ignored", (first ? "" : ", "),
_xbt_test_unit_ignore);
if (_xbt_test_unit_ignore) {
fprintf(stderr, "%s%d ignored", (first ? "" : ", "),
_xbt_test_unit_ignore);
- first = 0;
}
fprintf(stderr, ")\n Tests: %.0f%% ok (%d tests: ",
_xbt_test_nb_tests
}
fprintf(stderr, ")\n Tests: %.0f%% ok (%d tests: ",
_xbt_test_nb_tests