- // with tester_wait<1>
- RUN_SECTION("exec: run and wait<1> many", test_basic<ActivityPtr, create_exec, tester_wait<1>>);
- RUN_SECTION("exec: actor failure and wait<1> / sleep",
- test_failure_actor<ActivityPtr, create_exec, tester_wait<1>, waiter_sleep6>);
- RUN_SECTION("exec: host failure and wait<1> / sleep",
- test_failure_host<ActivityPtr, create_exec, tester_wait<1>, waiter_sleep6>);
- RUN_SECTION("exec: actor failure and wait<1> / wait",
- test_failure_actor<ActivityPtr, create_exec, tester_wait<1>, waiter_wait>);
- RUN_SECTION("exec: host failure and wait<1> / wait",
- test_failure_host<ActivityPtr, create_exec, tester_wait<1>, waiter_wait>);
+ simgrid::s4u::this_actor::sleep_for(10);
+ assert_cleanup();
+}
+
+TEST_CASE("Activity test/wait: using <tester_wait_any<1>>")
+{
+ XBT_INFO("#####[ launch next test ]#####");
+
+ RUN_SECTION("exec: run and wait_any<1> once", test_trivial<ExecPtr, create_exec, tester_wait_any<1>>);
+ RUN_SECTION("exec: run and wait_any<1> many", test_basic<ExecPtr, create_exec, tester_wait_any<1>>);
+ RUN_SECTION("exec: cancel and wait_any<1>", test_cancel<ExecPtr, create_exec, tester_wait_any<1>>);
+ RUN_SECTION("exec: actor failure and wait_any<1> / sleep",
+ test_failure_actor<ExecPtr, create_exec, tester_wait_any<1>, waiter_sleep6>);
+ RUN_SECTION("exec: host failure and wait_any<1> / sleep",
+ test_failure_host<ExecPtr, create_exec, tester_wait_any<1>, waiter_sleep6>);
+ RUN_SECTION("exec: actor failure and wait_any<1> / wait",
+ test_failure_actor<ExecPtr, create_exec, tester_wait_any<1>, waiter_wait>);
+ RUN_SECTION("exec: host failure and wait_any<1> / wait",
+ test_failure_host<ExecPtr, create_exec, tester_wait_any<1>, waiter_wait>);