aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/vnc.py
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-08-28 12:56:45 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-28 23:35:56 +0100
commit188acd0a75e188fd7c0d2979acaf13fd18b12106 (patch)
tree90fff07d8f456fe88a8e3474a86d67a1c3da422c /meta/lib/oeqa/runtime/vnc.py
parent3f8d61517d31c3351a45f95adbd81e1c0147b98e (diff)
downloadopenembedded-core-188acd0a75e188fd7c0d2979acaf13fd18b12106.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). Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/runtime/vnc.py')
-rw-r--r--meta/lib/oeqa/runtime/vnc.py2
1 files changed, 1 insertions, 1 deletions
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 *
import re
def setUpModule():
- skipModuleUnless(oeRuntimeTest.tc.target.run('which x11vnc')[0] == 0, "No x11vnc in image")
+ skipModuleUnless(oeRuntimeTest.hasPackage('x11vnc'), "No x11vnc package in image")
class VNCTest(oeRuntimeTest):