diff --git a/test/test_frmwrk.py b/test/test_frmwrk.py index 90be7ad7..03ae8874 100644 --- a/test/test_frmwrk.py +++ b/test/test_frmwrk.py @@ -17,9 +17,9 @@ def get_path_without_sims(): return os.path.pathsep.join(paths) -def fake_tool(name): +def fake_tool(name, log_name_is_tool_name=False): executable = pathlib.Path(name) - log_file = 'fake_tool.log' + log_file = 'fake_tool.log' if not log_name_is_tool_name else f'fake_{name}.log' script = [ 'echo "{} called" > {}'.format(name, log_file), 'echo "args:" >> {}'.format(log_file),