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

Unified Diff: au_test_harness/real_au_worker.py

Issue 6736023: Install test scripts into chroot. (Closed) Base URL: http://git.chromium.org/git/crostestutils.git@master
Patch Set: Fix path for chroot Created 9 years, 9 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
Index: au_test_harness/real_au_worker.py
diff --git a/au_test_harness/real_au_worker.py b/au_test_harness/real_au_worker.py
index 43b8c2e62c977ce5db2d0c79e2a69be1e880d41a..ffd9963977e7d6210e47106e473dd6280f0a7b74 100644
--- a/au_test_harness/real_au_worker.py
+++ b/au_test_harness/real_au_worker.py
@@ -53,11 +53,12 @@ class RealAUWorker(au_worker.AUWorker):
"""Verifies an image using run_remote_tests.sh with verification suite."""
test_directory = self.GetNextResultsPath('verify')
output = cros_lib.RunCommand(
- ['%s/run_remote_tests.sh' % self.crosutils,
+ ['run_remote_tests.sh',
'--remote=%s' % self.remote,
'--results_dir_root=%s' % test_directory,
self.verify_suite,
- ], error_ok=True, enter_chroot=False, redirect_stdout=True)
+ ], error_ok=True, enter_chroot=True, redirect_stdout=True,
+ cwd=self.crosutils)
return self.AssertEnoughTestsPassed(unittest, output,
percent_required_to_pass)

Powered by Google App Engine
This is Rietveld 408576698