Commit a74ecf1c authored by Jérome Perrin's avatar Jérome Perrin

fixup! runUnitTest: new --log_directory option

the case where --log_directory was not passed was not properly supported
parent 543ea352
Pipeline #9127 passed with stage
......@@ -771,7 +771,7 @@ def main(argument_list=None):
debug = 0
run_only = None
instance_home = os.path.join(real_instance_home, 'unit_test')
_log_directory = instance_home
_log_directory = None
bt5_path_list = []
......@@ -901,7 +901,7 @@ def main(argument_list=None):
real_instance_home,
instance_home)
global log_directory
log_directory = _log_directory or test_home
log_directory = _log_directory or tests_home
result = runUnitTestList(test_list=args,
verbosity=verbosity,
......
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