diff options
Diffstat (limited to 'buildbot_test_toolchains.py')
-rwxr-xr-x | buildbot_test_toolchains.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index e4784a62..48987966 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -250,6 +250,8 @@ class ToolchainComparator(object): self._ce.RunCommand(command) def _CopyJson(self): + # Make sure a destination directory exists. + os.makedirs(PENDING_ARCHIVES_DIR, exist_ok=True) # Copy json report to pending archives directory. command = 'cp %s/*.json %s/.' % (self._reports_dir, PENDING_ARCHIVES_DIR) ret = self._ce.RunCommand(command) |