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

Side by Side Diff: client/tests/kvm/tests/qmp_basic.py

Issue 6883246: Merge autotest upstream from @5318 ~ @5336 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/tests/kvm/tests/qemu_img.py ('k') | client/tests/kvm/tests/qmp_basic_rhel6.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 from autotest_lib.client.common_lib import error 1 from autotest_lib.client.common_lib import error
2 import kvm_test_utils, kvm_monitor 2 from autotest_lib.client.virt import kvm_monitor
3 3
4 4
5 def run_qmp_basic(test, params, env): 5 def run_qmp_basic(test, params, env):
6 """ 6 """
7 QMP Specification test-suite: this checks if the *basic* protocol conforms 7 QMP Specification test-suite: this checks if the *basic* protocol conforms
8 to its specification, which is file QMP/qmp-spec.txt in QEMU's source tree. 8 to its specification, which is file QMP/qmp-spec.txt in QEMU's source tree.
9 9
10 IMPORTANT NOTES: 10 IMPORTANT NOTES:
11 11
12 o Most tests depend heavily on QMP's error information (eg. classes), 12 o Most tests depend heavily on QMP's error information (eg. classes),
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 # Run all suites 398 # Run all suites
399 greeting_suite(qmp_monitor) 399 greeting_suite(qmp_monitor)
400 input_object_suite(qmp_monitor) 400 input_object_suite(qmp_monitor)
401 argument_checker_suite(qmp_monitor) 401 argument_checker_suite(qmp_monitor)
402 unknown_commands_suite(qmp_monitor) 402 unknown_commands_suite(qmp_monitor)
403 json_parsing_errors_suite(qmp_monitor) 403 json_parsing_errors_suite(qmp_monitor)
404 404
405 # check if QMP is still alive 405 # check if QMP is still alive
406 if not qmp_monitor.is_responsive(): 406 if not qmp_monitor.is_responsive():
407 raise error.TestFail('QMP monitor is not responsive after testing') 407 raise error.TestFail('QMP monitor is not responsive after testing')
OLDNEW
« no previous file with comments | « client/tests/kvm/tests/qemu_img.py ('k') | client/tests/kvm/tests/qmp_basic_rhel6.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698