Am 14.03.2012 14:39, schrieb Paolo Bonzini:
Il 14/03/2012 10:10, Kevin Wolf ha scritto:
I have no idea if there's any chance of qemu-iotests successfully on
win32, but in order to make it actually run I think you would have to
change the file names in tests/qemu-iotests-quick.sh as well.
I think the shell is able to add the suffix automatically, it's just
make that needs it explicitly.
Paolo
Yes, tests/qemu-iotests-quick.sh does not need a patch
to run the iotests on w32 or w64.
There are some other issues to solve for MinGW based
hosts:
* hostname does not support -s (is this option really needed?)
* there is no bc command (maybe the shell would be enough)
* TEST_DIR must not be an absolute path
* qemu-io does not read from stdin
* wrong order of arguments to qemu-io -c write, read
* other small issues
All these points can be fixed, and I already did run some of the tests.
The patch here only fixes make. Without it, make fails
with linker errors.
Regards,
Stefan W.