From 188acd0a75e188fd7c0d2979acaf13fd18b12106 Mon Sep 17 00:00:00 2001 From: Stefan Stanacar Date: Wed, 28 Aug 2013 12:56:45 +0300 Subject: 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 Signed-off-by: Saul Wold --- meta/lib/oeqa/runtime/dmesg.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'meta/lib/oeqa/runtime/dmesg.py') 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 from oeqa.oetest import oeRuntimeTest from oeqa.utils.decorators import * -def setUpModule(): - skipModuleUnless(oeRuntimeTest.tc.target.run('which dmesg')[0] == 0, "No dmesg in image or no connection") class DmesgTest(oeRuntimeTest): -- cgit 1.2.3-korg