Skip to contentSkip to conversation

qemu-iotest only for Linux?

RFC Stefan Weil 3 participants 3 messages Mar 14, 2012 – Mar 15, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

What's the reason for "_supported_os Linux" in each test? Because of this statement, the tests only run on Linux today, although they could also run on BSD, w32 and other operating systems (maybe small fixes are needed).

I don't think that adding every possible OS to each test would be a good solution. Can we remove this OS dependency completely?

Regards,
Stefan W.

#1 lore raw
Quoted 8 lines · Stefan Weil

What's the reason for "_supported_os Linux" in each test? Because of this statement, the tests only run on Linux today, although they could also run on BSD, w32 and other operating systems (maybe small fixes are needed).

I don't think that adding every possible OS to each test would be a good solution. Can we remove this OS dependency completely?

In many cases the _supported_os was probably copy-pasted when creating new tests. However, we can be pretty sure that the tests haven't all been run on anything other than Linux and maybe Windows recently.

I think we can support other host OSes but we should combine this with adding "make check" and maybe "make check-block" to the buildbot - that way we'll be notified if the tests break. There are Linux, Solaris, and OpenBSD buildslaves.

Stefan

#2 lore raw
Quoted 6 lines · Stefan Hajnoczi
Quoted 5 lines · Stefan Weil

What's the reason for "_supported_os Linux" in each test? Because of this statement, the tests only run on Linux today, although they could also run on BSD, w32 and other operating systems (maybe small fixes are needed).

Quoted 7 lines
Quoted 3 lines

I don't think that adding every possible OS to each test would be a good solution. Can we remove this OS dependency completely?

In many cases the _supported_os was probably copy-pasted when creating new tests. However, we can be pretty sure that the tests haven't all been run on anything other than Linux and maybe Windows recently.

Yes.

Quoted 4 lines

I think we can support other host OSes but we should combine this with adding "make check" and maybe "make check-block" to the buildbot - that way we'll be notified if the tests break. There are Linux, Solaris, and OpenBSD buildslaves.

For now please add the Oses it actually works as documentation, once we have a good overview we can add classes like "generic" or "posix"