Add debug output in test runtime generating macro

This commit is contained in:
Matthias Beyer 2018-11-01 13:04:55 +01:00
parent 32f38945f0
commit 71086b67d8

View file

@ -99,6 +99,7 @@ macro_rules! make_mock_app {
let mut cli_args = vec![$appname, "--rtp", "/tmp"];
cli_args.append(&mut args);
debug!("Generating test runtime with args = {:?}", cli_args);
let cli_app = MockLinkApp::new(cli_args);
Runtime::with_configuration(cli_app, generate_minimal_test_config())
@ -111,6 +112,7 @@ macro_rules! make_mock_app {
let mut cli_args = vec![$appname, "--rtp", "/tmp"];
cli_args.append(&mut args);
debug!("New arguments: {:?}", cli_args);
let cli_app = MockLinkApp::new(cli_args);
Runtime::with_configuration(cli_app, generate_minimal_test_config())