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

Unified Diff: client/tests/kvm/tests/unittest.py

Issue 6124004: Revert "Merge remote branch 'cros/upstream' into autotest-rebase" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 11 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 | « client/tests/kvm/tests/timedrift.py ('k') | client/tests/kvm/tests/virtio_console.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/kvm/tests/unittest.py
diff --git a/client/tests/kvm/tests/unittest.py b/client/tests/kvm/tests/unittest.py
index c724051bf8134c7f32b91458130d65054ddf9343..54e5f73aa7a88e22245d693eaeec12578acd9188 100644
--- a/client/tests/kvm/tests/unittest.py
+++ b/client/tests/kvm/tests/unittest.py
@@ -36,8 +36,8 @@ def run_unittest(test, params, env):
unittest_cfg)
logging.debug('Unit test list: %s' % test_list)
- if params.get('test_list'):
- test_list = params.get('test_list').split()
+ if params.get('test_list', None):
+ test_list = kvm_utils.get_sub_dict_names(params, 'test_list')
logging.info('Original test list overriden by user')
logging.info('User defined unit test list: %s' % test_list)
@@ -88,7 +88,7 @@ def run_unittest(test, params, env):
try:
vm_name = params.get('main_vm')
kvm_preprocessing.preprocess_vm(test, params, env, vm_name)
- vm = env.get_vm(vm_name)
+ vm = kvm_utils.env_get_vm(env, vm_name)
vm.create()
vm.monitor.cmd("cont")
logging.info("Waiting for unittest %s to complete, timeout %s, "
« no previous file with comments | « client/tests/kvm/tests/timedrift.py ('k') | client/tests/kvm/tests/virtio_console.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698