1. 28 6月, 2014 1 次提交
    • M
      iotests: Allow out-of-tree run · e8f8624d
      Max Reitz 提交于
      As out-of-tree builds are preferred for qemu, running the qemu-iotests
      in that out-of-tree build should be supported as well. To do so, a
      symbolic link has to be created pointing to the check script in the
      source directory. That script will check whether it has been run through
      a symlink, and if so, will assume it is run in the build tree. All
      output and temporary operations performed by iotests are then redirected
      here and, unless specified otherwise by the user, QEMU_PROG etc. will be
      set to paths appropriate for the build tree.
      
      Also, drop making every test case executable if it is not yet, as this
      would modify the source tree which is not desired for out-of-tree runs
      and should be fixed in the repository anyway.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      e8f8624d
  2. 26 4月, 2014 1 次提交
  3. 04 12月, 2013 1 次提交
  4. 29 11月, 2013 1 次提交
  5. 11 10月, 2013 1 次提交
  6. 26 9月, 2013 1 次提交
  7. 12 9月, 2013 1 次提交
  8. 27 7月, 2013 1 次提交
  9. 28 6月, 2013 1 次提交
  10. 04 6月, 2013 4 次提交
  11. 11 12月, 2012 1 次提交
  12. 07 12月, 2012 1 次提交
  13. 15 11月, 2012 1 次提交
  14. 24 10月, 2012 1 次提交
  15. 29 9月, 2012 2 次提交
  16. 15 6月, 2012 1 次提交
  17. 10 5月, 2012 2 次提交
  18. 29 2月, 2012 1 次提交
    • S
      qemu-iotests: add iotests Python module · f345cfd0
      Stefan Hajnoczi 提交于
      Block layer tests that involve QMP commands rather than qemu-img or
      qemu-io are not well-suited for shell scripting.  This patch adds a
      Python module which allows tests to be written in Python instead.
      
      The basic API is:
      
        VM          - class for launching and interacting with a VM
        QMPTestCase - abstract base class for tests that use QMP
        qemu_img()  - wrapper function for invoking qemu-img
        qemu_io()   - wrapper function for invoking qemu-io
        imgfmt      - the image format under test (e.g. qcow2, qed)
        test_dir    - scratch directory path for temporary files
        main()      - entry point for running tests
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      f345cfd0