Commit 8c1611fb authored by Dominik Charousset's avatar Dominik Charousset

Parse CLI args when using the testing DSL

parent 08dd5a3e
...@@ -466,10 +466,11 @@ struct test_coordinator_fixture { ...@@ -466,10 +466,11 @@ struct test_coordinator_fixture {
scheduler_type& sched; scheduler_type& sched;
test_coordinator_fixture() test_coordinator_fixture()
: sys(cfg.set("scheduler.policy", caf::atom("testing"))), : sys(cfg.parse(caf::test::engine::argc(), caf::test::engine::argv())
.set("scheduler.policy", caf::atom("testing"))),
self(sys), self(sys),
sched(dynamic_cast<scheduler_type&>(sys.scheduler())) { sched(dynamic_cast<scheduler_type&>(sys.scheduler())) {
//sys.await_actors_before_shutdown(false); // nop
} }
template <class T = int> template <class T = int>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment