diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2013-08-28 12:56:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-28 23:36:08 +0100 |
commit | 4e62e9cb7655669c8e4048e678d8858f8b9f5214 (patch) | |
tree | 22b826d21a33d93f12cfe949db80b8a5a6325503 /meta/lib/oeqa/runtime/date.py | |
parent | a79afb3c913f90966a05f7dcc9059e0657f247fc (diff) | |
download | poky-4e62e9cb7655669c8e4048e678d8858f8b9f5214.tar.gz |
lib/oeqa/runtime: remove some unnecessary checks from setUpModule
These checks are unnecessary.
setUpModule is run when a module is loaded and we
shouldn't run commands on the target here, (plus if
ssh doesn't work we error out in setup multiple times, instead
of skipping the real test, which might depend on test_ssh).
(From OE-Core rev: 188acd0a75e188fd7c0d2979acaf13fd18b12106)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/date.py')
-rw-r--r-- | meta/lib/oeqa/runtime/date.py | 3 |
1 files changed, 0 insertions, 3 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): |