Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Two tests are fixed.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 12 Mar 2020 13:41:33 +0000 (14:41 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 12 Mar 2020 14:38:54 +0000 (15:38 +0100)
Contributes to simgrid/simgrid#47.

teshsuite/s4u/activity-lifecycle/testing_test-wait.cpp

index 40a2cda..0c4d1fb 100644 (file)
@@ -161,8 +161,8 @@ TEST_CASE("Activity test/wait: using <tester_test>")
   RUN_SECTION("exec: run and test once", test_trivial<create_exec, tester_test>);
   RUN_SECTION("exec: run and test many", test_basic<create_exec, tester_test>);
   RUN_SECTION("exec: cancel and test", test_cancel<create_exec, tester_test>);
-  // exec: actor failure and test / sleep
-  // exec: host failure and test / sleep
+  RUN_SECTION("exec: actor failure and test / sleep", test_failure_actor<create_exec, tester_test, waiter_sleep6>);
+  RUN_SECTION("exec: host failure and test / sleep", test_failure_host<create_exec, tester_test, waiter_sleep6>);
   RUN_SECTION("exec: actor failure and test / wait", test_failure_actor<create_exec, tester_test, waiter_wait>);
   RUN_SECTION("exec: host failure and test / wait", test_failure_host<create_exec, tester_test, waiter_wait>);
 
@@ -208,10 +208,6 @@ TEST_CASE("Activity test/wait: tests currently failing", "[.][failing]")
 {
   XBT_INFO("#####[ launch next failing test ]#####");
 
-  // with tester_test
-  RUN_SECTION("exec: actor failure and test / sleep", test_failure_actor<create_exec, tester_test, waiter_sleep6>);
-  RUN_SECTION("exec: host failure and test / sleep", test_failure_host<create_exec, tester_test, waiter_sleep6>);
-
   // with tester_wait<0>
   RUN_SECTION("exec: run and wait<0> many", test_basic<create_exec, tester_wait<0>>);
   RUN_SECTION("exec: actor failure and wait<0> / sleep", test_failure_actor<create_exec, tester_wait<0>, waiter_sleep6>);