autotest: fixed rmtree error in autotest
This commit is contained in:
parent
8cb3013217
commit
7b50780c5e
@ -5336,7 +5336,7 @@ class AutoTestCopter(AutoTest):
|
||||
|
||||
self.progress("Running replay")
|
||||
|
||||
shutil.rmtree("logs/replay")
|
||||
shutil.rmtree("logs/replay", ignore_errors=True)
|
||||
util.run_cmd(['build/linux/tools/Replay', '--log-directory=logs/replay', '--', current_log_filepath],
|
||||
directory=util.topdir(), checkfail=True, show=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user