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