am 2b3c63f7: Ignore failures from failed cleanup.
* commit '2b3c63f7049d05a7affe265fed13516d16e6810e': Ignore failures from failed cleanup.
This commit is contained in:
@@ -104,7 +104,10 @@ class TestFormat(HostTestFormat):
|
|||||||
exec_file = os.path.basename(exec_path)
|
exec_file = os.path.basename(exec_path)
|
||||||
cmd = ['adb', 'shell', 'rm', '-rf', self._working_directory(exec_file)]
|
cmd = ['adb', 'shell', 'rm', '-rf', self._working_directory(exec_file)]
|
||||||
lit.util.executeCommand(cmd)
|
lit.util.executeCommand(cmd)
|
||||||
|
try:
|
||||||
os.remove(exec_path)
|
os.remove(exec_path)
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
|
|
||||||
def _run(self, exec_path, lit_config, in_dir=None):
|
def _run(self, exec_path, lit_config, in_dir=None):
|
||||||
exec_file = os.path.basename(exec_path)
|
exec_file = os.path.basename(exec_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user