-/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2021. 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. */
{
double expected_time = simgrid::s4u::Engine::get_clock() + duration;
simgrid::s4u::this_actor::on_exit([exp_success, expected_time](bool got_failed) {
+ XBT_VERB("Running checks on exit");
INFO("Check exit status. Expected: " << exp_success);
REQUIRE(exp_success == not got_failed);
INFO("Check date at exit. Expected: " << expected_time);