1. 09 9月, 2013 1 次提交
    • L
      PEP8 mass fixes · 2017db91
      Lucas Meneghel Rodrigues 提交于
      With the help of the PEP8 script, a semi-automated clean
      of the code base was made, and effectively changing some
      of the coding style rules of our code base:
      
       * No more 2 lines spacing among functions
       * No more combined module imports
      
      In the end, it was going to be too difficult to take
      into consideration E501 (line length > 80) errors and
      W601 (.has_key() is deprecated), so these were ignored,
      at least for now.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      2017db91
  2. 26 6月, 2013 4 次提交
  3. 08 6月, 2013 2 次提交
    • F
      qemu.tests: Make qmp_command suitable for more host · e78b789e
      Feng Yang 提交于
      List some case only Host_RHEL.6
      Do not run these case in RHEL3, RHEL4 guest.
      Reconfig qmp_query-mice test case.
      Rename qmp_device_add to qmp_redhat_device_add.
      Re-design qmp_command.qmp_query-version test case
      Signed-off-by: NFeng Yang <fyang@redhat.com>
      e78b789e
    • F
      KVM Test: Add qmp_command test. · 81253de1
      Feng Yang 提交于
      This script have coverd following qmp command:
      query-hpet, query-kvm, query-mice, query-status
      query-name, query-uuid, query-version, query-chardev
      query-blockstats, memsave, pmemsave, query-cpus
      cpu, query-vnc, query-block, query-commands
      query-balloon, balloon, cont, stop
      and a negative test with wrong command.
      
      This script will check result by following way:
      cmd_result_check = equal, will compare cmd_return_value with qmp command output.
      cmd_result_check = contain, will try to find cmd_return_value in qmp command output.
      cmd_result_check = m_equal_q, will compare key value in monitor command output and qmp command output.
      cmd_result_check = m_in_q, will try to find monitor command output's key value in qmp command output.
      cmd_result_check = post_contain, will try to find cmd_return_value in post command output.
      
      This update is base on upstream QMP patchset.
      
      Changes from v1:
      Bug fix and update according to ldoktor's comment
      Signed-off-by: NFeng Yang <fyang@redhat.com>
      KVM-test: Add format check for qmp_command test
      Signed-off-by: NYiqiao Pu <ypu@redhat.com>
      81253de1