summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-09-07 17:13:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-07 17:13:51 +0000
commit5fea8ca820be73f6158d3a532b4162871616390e (patch)
tree8400ee0d1b155ba2e9bb8fd453524eec9dec2043
parent26fbb0328d578f15bbbad9271965bee1778b47ed (diff)
downloadpdfium-chromium/3546.tar.xz
Force gclient sync in safetynet_compare.py.chromium/3548chromium/3547chromium/3546
This overwrites deps that are dirty, fixing an issue with deps that are removed in the "after" branch but not in the "before" branch. Change-Id: I1c905dc46522455ad160a6fd57fbab979c42162e Reviewed-on: https://pdfium-review.googlesource.com/42191 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
-rwxr-xr-xtesting/tools/safetynet_compare.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/tools/safetynet_compare.py b/testing/tools/safetynet_compare.py
index ef47eab9cd..3c0de03a61 100755
--- a/testing/tools/safetynet_compare.py
+++ b/testing/tools/safetynet_compare.py
@@ -351,7 +351,8 @@ class CompareRun(object):
cmd.append('--cache-dir=%s' % self.args.cache_dir)
RunCommandPropagateErr(cmd, exit_status_on_error=1)
- RunCommandPropagateErr(['gclient', 'sync'], exit_status_on_error=1)
+ RunCommandPropagateErr(['gclient', 'sync', '--force'],
+ exit_status_on_error=1)
PrintErr('Done.')
@@ -390,7 +391,8 @@ class CompareRun(object):
build_dir: String with path to build directory
"""
PrintErr('Syncing...')
- RunCommandPropagateErr(['gclient', 'sync'], exit_status_on_error=1)
+ RunCommandPropagateErr(['gclient', 'sync', '--force'],
+ exit_status_on_error=1)
PrintErr('Done.')
PrintErr('Building...')