Ignore failures from failed cleanup.
This `try` used to be in the function above, but an upstream change made it our responsibility. Change-Id: I34f1dca7244f67242b7a8f2979bf7560bc12b706
This commit is contained in:
@@ -104,7 +104,10 @@ class TestFormat(HostTestFormat):
|
||||
exec_file = os.path.basename(exec_path)
|
||||
cmd = ['adb', 'shell', 'rm', '-rf', self._working_directory(exec_file)]
|
||||
lit.util.executeCommand(cmd)
|
||||
os.remove(exec_path)
|
||||
try:
|
||||
os.remove(exec_path)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def _run(self, exec_path, lit_config, in_dir=None):
|
||||
exec_file = os.path.basename(exec_path)
|
||||
|
||||
Reference in New Issue
Block a user