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

Unified Diff: au_test_harness/vm_au_worker.py

Issue 6736023: Install test scripts into chroot. (Closed) Base URL: http://git.chromium.org/git/crostestutils.git@master
Patch Set: Remove vm scripts from makefile 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
« no previous file with comments | « au_test_harness/real_au_worker.py ('k') | cros_run_vm_test » ('j') | 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 9788fddcb27e8cdf2132a4353060205c3d95bbd5..b5925cca4ba6669dd5964b4c1574a178e8ae88f8 100644
--- a/au_test_harness/vm_au_worker.py
+++ b/au_test_harness/vm_au_worker.py
@@ -103,7 +103,7 @@ class VMAUWorker(au_worker.AUWorker):
(_, _, log_directory_in_chroot) = log_directory.rpartition('chroot')
# image_to_live already verifies lsb-release matching. This is just
# for additional steps.
- commandWithArgs = ['%s/cros_run_vm_test' % self.crosutilsbin,
+ commandWithArgs = ['./cros_run_vm_test',
'--image_path=%s' % self.vm_image_path,
'--snapshot',
'--persist',
@@ -114,7 +114,8 @@ class VMAUWorker(au_worker.AUWorker):
]
if self.graphics_flag: commandWithArgs.append(self.graphics_flag)
output = cros_lib.RunCommand(commandWithArgs, error_ok=True,
- enter_chroot=False, redirect_stdout=True)
+ enter_chroot=False, redirect_stdout=True,
+ cwd=self.crosutilsbin)
return self.AssertEnoughTestsPassed(unittest, output,
percent_required_to_pass)
« no previous file with comments | « au_test_harness/real_au_worker.py ('k') | cros_run_vm_test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698