зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1417280 - Use shutil.move to move grcov output file instead of os.rename. r=me
os.rename doesn't work if dst and src are on different filesystems. --HG-- extra : histedit_source : 6396f787cdbfbd085fac60fb7d520aaaddacff67
This commit is contained in:
Родитель
fcd6d8d77b
Коммит
e225e00cb0
|
@ -192,7 +192,7 @@ class CodeCoverageMixin(object):
|
|||
return_type='files'
|
||||
)
|
||||
output_file_name = 'grcov_lcov_output.info'
|
||||
os.rename(grcov_output, os.path.join(self.grcov_dir, output_file_name))
|
||||
shutil.move(grcov_output, os.path.join(self.grcov_dir, output_file_name))
|
||||
|
||||
# Zip the grcov output and upload it.
|
||||
self.run_command(
|
||||
|
|
Загрузка…
Ссылка в новой задаче