X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/558e19f535bb0c65b610bc758c8133ded549ca3c..ec28fefa54873e9f38f7005c4ab6d0028f69fa99:/src/surf/trace_mgr_test.cpp diff --git a/src/surf/trace_mgr_test.cpp b/src/surf/trace_mgr_test.cpp index 24e202c513..4bdb1d7574 100644 --- a/src/surf/trace_mgr_test.cpp +++ b/src/surf/trace_mgr_test.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2017-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -39,7 +39,7 @@ static void trace2vector(const char* str, std::vector* whereto simgrid::trace_mgr::trace* trace = tmgr_trace_new_from_string("TheName", str, 0); XBT_VERB("---------------------------------------------------------"); XBT_VERB("data>>\n%s<event_list) + for (auto const& evt : trace->event_list) XBT_VERB("event: d:%lg v:%lg", evt.date_, evt.value_); MockedResource daResource; @@ -157,7 +157,6 @@ static bool init_function() int main(int argc, char** argv) { - XBT_LOG_CONNECT(unit); xbt_log_init(&argc, argv); return ::boost::unit_test::unit_test_main(&init_function, argc, argv); }