diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/runtime/date.py | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/df.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/dmesg.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/vnc.py | 2 |
4 files changed, 1 insertions, 8 deletions
diff --git a/meta/lib/oeqa/runtime/date.py b/meta/lib/oeqa/runtime/date.py index d6c04cb0f7..3b35964763 100644 --- a/meta/lib/oeqa/runtime/date.py +++ b/meta/lib/oeqa/runtime/date.py | |||
@@ -2,9 +2,6 @@ from oeqa.oetest import oeRuntimeTest | |||
2 | from oeqa.utils.decorators import * | 2 | from oeqa.utils.decorators import * |
3 | import re | 3 | import re |
4 | 4 | ||
5 | def setUpModule(): | ||
6 | skipModuleUnless(oeRuntimeTest.tc.target.run('which date')[0] == 0, "No date in image or no connection") | ||
7 | |||
8 | class DateTest(oeRuntimeTest): | 5 | class DateTest(oeRuntimeTest): |
9 | 6 | ||
10 | def setUp(self): | 7 | def setUp(self): |
diff --git a/meta/lib/oeqa/runtime/df.py b/meta/lib/oeqa/runtime/df.py index c9119898dc..b6da35027c 100644 --- a/meta/lib/oeqa/runtime/df.py +++ b/meta/lib/oeqa/runtime/df.py | |||
@@ -2,8 +2,6 @@ import unittest | |||
2 | from oeqa.oetest import oeRuntimeTest | 2 | from oeqa.oetest import oeRuntimeTest |
3 | from oeqa.utils.decorators import * | 3 | from oeqa.utils.decorators import * |
4 | 4 | ||
5 | def setUpModule(): | ||
6 | skipModuleUnless(oeRuntimeTest.tc.target.run('which df')[0] == 0, "No df in image or no connection") | ||
7 | 5 | ||
8 | class DfTest(oeRuntimeTest): | 6 | class DfTest(oeRuntimeTest): |
9 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py index 48370fbb0c..a53d1f0bf3 100644 --- a/meta/lib/oeqa/runtime/dmesg.py +++ b/meta/lib/oeqa/runtime/dmesg.py | |||
@@ -2,8 +2,6 @@ import unittest | |||
2 | from oeqa.oetest import oeRuntimeTest | 2 | from oeqa.oetest import oeRuntimeTest |
3 | from oeqa.utils.decorators import * | 3 | from oeqa.utils.decorators import * |
4 | 4 | ||
5 | def setUpModule(): | ||
6 | skipModuleUnless(oeRuntimeTest.tc.target.run('which dmesg')[0] == 0, "No dmesg in image or no connection") | ||
7 | 5 | ||
8 | class DmesgTest(oeRuntimeTest): | 6 | class DmesgTest(oeRuntimeTest): |
9 | 7 | ||
diff --git a/meta/lib/oeqa/runtime/vnc.py b/meta/lib/oeqa/runtime/vnc.py index 9476184080..ce111793b8 100644 --- a/meta/lib/oeqa/runtime/vnc.py +++ b/meta/lib/oeqa/runtime/vnc.py | |||
@@ -3,7 +3,7 @@ from oeqa.utils.decorators import * | |||
3 | import re | 3 | import re |
4 | 4 | ||
5 | def setUpModule(): | 5 | def setUpModule(): |
6 | skipModuleUnless(oeRuntimeTest.tc.target.run('which x11vnc')[0] == 0, "No x11vnc in image") | 6 | skipModuleUnless(oeRuntimeTest.hasPackage('x11vnc'), "No x11vnc package in image") |
7 | 7 | ||
8 | class VNCTest(oeRuntimeTest): | 8 | class VNCTest(oeRuntimeTest): |
9 | 9 | ||