improve test gen logging

This commit is contained in:
protolambda 2019-07-30 00:44:19 +02:00
parent eb7c3b9651
commit c329a003af
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 4 additions and 3 deletions

View File

@ -83,12 +83,13 @@ def run_generator(generator_name, test_providers: Iterable[TestProvider]):
yaml = YAML(pure=True)
yaml.default_flow_style = None
print(f"Generating tests into {output_dir}...")
print(f"Reading config presets and fork timelines from {args.configs_path}")
print(f"Generating tests into {output_dir}")
print(f"Reading configs from {args.configs_path}")
for tprov in test_providers:
# loads configuration etc.
config_name = tprov.prepare(args.configs_path)
print(f"generating tests with config '{config_name}' ...")
for test_case in tprov.make_cases():
case_dir = Path(output_dir) / Path(config_name) / Path(test_case.fork_name) \
/ Path(test_case.runner_name) / Path(test_case.handler_name) \