aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildbot_test_toolchains.py6
-rwxr-xr-xtest_toolchains.py5
2 files changed, 6 insertions, 5 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py
index 7072c634..70990380 100755
--- a/buildbot_test_toolchains.py
+++ b/buildbot_test_toolchains.py
@@ -125,9 +125,9 @@ class ToolchainComparator():
crosperf = os.path.join(TOOLCHAIN_DIR,
"crosperf",
"crosperf")
- command = ("%s --no_email=True --results_dir=%s %s" % (crosperf,
- self._reports_dir,
- experiment_file))
+ command = ("%s --no_email=True --use_file_locks=True --results_dir=%s %s" %
+ (crosperf, self._reports_dir, experiment_file))
+
ret = self._ce.RunCommand(command)
if ret != 0:
raise RuntimeError("Couldn't run crosperf!")
diff --git a/test_toolchains.py b/test_toolchains.py
index 616a97a3..cf52136d 100755
--- a/test_toolchains.py
+++ b/test_toolchains.py
@@ -240,8 +240,9 @@ class ToolchainComparator(ChromeOSCheckout):
crosperf = os.path.join(os.path.dirname(__file__),
"crosperf",
"crosperf")
- command = "%s --no_email=True --results_dir=%s %s" % (crosperf, self._reports_dir,
- experiment_file)
+ command = ("%s --no_email=True --use_file_locks=True --results_dir=%s %s" %
+ (crosperf, self._reports_dir, experiment_file)
+
ret = self._ce.RunCommand(command)
if ret != 0:
raise RuntimeError("Couldn't run crosperf!")