diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/devtool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 955379bad5..6f76ce7b84 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -929,10 +929,11 @@ class DevtoolTests(DevtoolBase): | |||
929 | # Additionally we are testing build-time functionality as well, so | 929 | # Additionally we are testing build-time functionality as well, so |
930 | # really this has to be done as an oe-selftest test. | 930 | # really this has to be done as an oe-selftest test. |
931 | # | 931 | # |
932 | |||
933 | features = 'MACHINE = "qemux86"\n' | ||
934 | self.write_config(features) | ||
935 | |||
932 | # Check preconditions | 936 | # Check preconditions |
933 | machine = get_bb_var('MACHINE') | ||
934 | if not machine.startswith('qemu'): | ||
935 | self.skipTest('This test only works with qemu machines') | ||
936 | if not os.path.exists('/etc/runqemu-nosudo'): | 937 | if not os.path.exists('/etc/runqemu-nosudo'): |
937 | self.skipTest('You must set up tap devices with scripts/runqemu-gen-tapdevs before running this test') | 938 | self.skipTest('You must set up tap devices with scripts/runqemu-gen-tapdevs before running this test') |
938 | result = runCmd('PATH="$PATH:/sbin:/usr/sbin" ip tuntap show', ignore_status=True) | 939 | result = runCmd('PATH="$PATH:/sbin:/usr/sbin" ip tuntap show', ignore_status=True) |