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
...@@ -771,7 +771,7 @@ def main(argument_list=None): ...@@ -771,7 +771,7 @@ def main(argument_list=None):
debug = 0 debug = 0
run_only = None run_only = None
instance_home = os.path.join(real_instance_home, 'unit_test') instance_home = os.path.join(real_instance_home, 'unit_test')
_log_directory = instance_home _log_directory = None
bt5_path_list = [] bt5_path_list = []
...@@ -901,7 +901,7 @@ def main(argument_list=None): ...@@ -901,7 +901,7 @@ def main(argument_list=None):
real_instance_home, real_instance_home,
instance_home) instance_home)
global log_directory global log_directory
log_directory = _log_directory or test_home log_directory = _log_directory or tests_home
result = runUnitTestList(test_list=args, result = runUnitTestList(test_list=args,
verbosity=verbosity, 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