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

Unified Diff: client/tests/kvm/migration_control.srv

Issue 6551020: Merge remote branch 'autotest-upstream/master' into try-box1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 10 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/kvm_vm.py ('k') | client/tests/kvm/test_setup.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/kvm/migration_control.srv
diff --git a/client/tests/kvm/migration_control.srv b/client/tests/kvm/migration_control.srv
index 16ada361d07102b0afc3684d2e2423e4feca617a..6b17a26730059a97abed22f1c7953a552b0922ce 100644
--- a/client/tests/kvm/migration_control.srv
+++ b/client/tests/kvm/migration_control.srv
@@ -50,7 +50,7 @@ def run(pair):
raise error.JobError("Config file %s was not found", cfg_file)
# Get test set (dictionary list) from the configuration file
- cfg = kvm_config.config()
+ parser = kvm_config.Parser()
test_variants = """
image_name(_.*)? ?<= /tmp/kvm_autotest_root/images/
cdrom(_.*)? ?<= /tmp/kvm_autotest_root/
@@ -67,13 +67,14 @@ only virtio_blk
only smp2
only no_pci_assignable
only smallpages
-only Fedora.13.64
+only Fedora.14.64
only migrate_multi_host
nic_mode = tap
nic_mac_nic1 = %s
""" % (generate_mac_address())
- cfg.fork_and_parse(cfg_file, test_variants)
- test_dicts = cfg.get_list()
+ parser.parse_file(cfg_file)
+ parser.parse_string(test_variants)
+ test_dicts = parser.get_dicts()
source_control_file = dest_control_file = """
kvm_test_dir = os.path.join(os.environ['AUTODIR'],'tests/kvm')
« no previous file with comments | « client/tests/kvm/kvm_vm.py ('k') | client/tests/kvm/test_setup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698