aboutsummaryrefslogtreecommitdiff
path: root/crosperf/crosperf_unittest.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2015-04-22 09:25:53 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-26 04:18:33 +0000
commit5c09fc2966ac49263ce7154c2905f2a86aeda297 (patch)
treeafb3ec9829c59f98cf1cabdc2a26c71465cf9153 /crosperf/crosperf_unittest.py
parentd7d5084ffa40651b5adbaea4f4659a51e1045f06 (diff)
downloadtoolchain-utils-5c09fc2966ac49263ce7154c2905f2a86aeda297.tar.gz
Fix current problem with machine locks.
Currently if crosperf can't access the default locks directory, it assumes that it is safe to proceed without locks and it uses machines without checking locks. This script does two things: It causes crosperf to fail if it can't access a locks directory; and it allows the user to specify an alternate locks directory. As a by-product it also adds a boolean prompting function to utils/misc.py BUG=None TEST=Tested with default directory accessible & inaccessible; tested using local locks directory. Change-Id: I6f24f772986813bf089f5f4e40335a15e8ee4837 Reviewed-on: https://chrome-internal-review.googlesource.com/214129 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/crosperf_unittest.py')
0 files changed, 0 insertions, 0 deletions