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
Fix https://github.com/simgrid/simgrid/issues/294
[simgrid.git]
/
src
/
xbt
/
cunit.cpp
diff --git
a/src/xbt/cunit.cpp
b/src/xbt/cunit.cpp
index
95b4d95
..
a3a625f
100644
(file)
--- a/
src/xbt/cunit.cpp
+++ b/
src/xbt/cunit.cpp
@@
-14,8
+14,8
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
+#include "simgrid/Exception.hpp"
#include <xbt/cunit.h>
#include <xbt/cunit.h>
-#include <xbt/ex.hpp>
#include <xbt/string.hpp>
/* output stream to use everywhere */
#include <xbt/string.hpp>
/* output stream to use everywhere */
@@
-581,7
+581,7
@@
void _xbt_test_fail(const char *file, int line, const char *fmt, ...)
void xbt_test_exception(xbt_ex_t e)
{
void xbt_test_exception(xbt_ex_t e)
{
- _xbt_test_fail(e.throw_point().file
, e.throw_point().line
, "Exception %s raised: %s", xbt_ex_catname(e.category),
+ _xbt_test_fail(e.throw_point().file
_, e.throw_point().line_
, "Exception %s raised: %s", xbt_ex_catname(e.category),
e.what());
}
e.what());
}