Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: au_test_harness/vm_au_worker.py

Issue 6852004: Move bvt suite into test harness. (Closed) Base URL: http://git.chromium.org/git/crostestutils.git@master
Patch Set: Pass rate Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « au_test_harness/au_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: au_test_harness/vm_au_worker.py
diff --git a/au_test_harness/vm_au_worker.py b/au_test_harness/vm_au_worker.py
index d3113f2bf240869bb89b15557182b95c52b41da9..aa4e929c6e25834ba3e6e2fd854669a22862675c 100644
--- a/au_test_harness/vm_au_worker.py
+++ b/au_test_harness/vm_au_worker.py
@@ -102,9 +102,9 @@ class VMAUWorker(au_worker.AUWorker):
if self.graphics_flag: commandWithArgs.append(self.graphics_flag)
self.TestInfo('Running smoke suite to verify image.')
output = cros_lib.RunCommand(
- commandWithArgs, error_ok=True, enter_chroot=False,
- redirect_stdout=True, redirect_stderr=True, cwd=self.crosutilsbin,
- print_cmd=False, combine_stdout_stderr=True)
+ commandWithArgs, error_ok=(percent_required_to_pass != 100),
+ enter_chroot=False, redirect_stdout=True, redirect_stderr=True,
+ cwd=self.crosutilsbin, print_cmd=False, combine_stdout_stderr=True)
return self.AssertEnoughTestsPassed(unittest, output,
percent_required_to_pass)
« no previous file with comments | « au_test_harness/au_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698