diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/devtool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index d41af2fb26..2e4b6dada3 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -979,11 +979,10 @@ class DevtoolTests(DevtoolBase): | |||
979 | # Additionally we are testing build-time functionality as well, so | 979 | # Additionally we are testing build-time functionality as well, so |
980 | # really this has to be done as an oe-selftest test. | 980 | # really this has to be done as an oe-selftest test. |
981 | # | 981 | # |
982 | |||
983 | features = 'MACHINE = "qemux86"\n' | ||
984 | self.write_config(features) | ||
985 | |||
986 | # Check preconditions | 982 | # Check preconditions |
983 | machine = get_bb_var('MACHINE') | ||
984 | if not machine.startswith('qemu'): | ||
985 | self.skipTest('This test only works with qemu machines') | ||
987 | if not os.path.exists('/etc/runqemu-nosudo'): | 986 | if not os.path.exists('/etc/runqemu-nosudo'): |
988 | self.skipTest('You must set up tap devices with scripts/runqemu-gen-tapdevs before running this test') | 987 | self.skipTest('You must set up tap devices with scripts/runqemu-gen-tapdevs before running this test') |
989 | result = runCmd('PATH="$PATH:/sbin:/usr/sbin" ip tuntap show', ignore_status=True) | 988 | result = runCmd('PATH="$PATH:/sbin:/usr/sbin" ip tuntap show', ignore_status=True) |