From 4e62e9cb7655669c8e4048e678d8858f8b9f5214 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). (From OE-Core rev: 188acd0a75e188fd7c0d2979acaf13fd18b12106) Signed-off-by: Stefan Stanacar Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/df.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'meta/lib/oeqa/runtime/df.py') 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 from oeqa.oetest import oeRuntimeTest from oeqa.utils.decorators import * -def setUpModule(): - skipModuleUnless(oeRuntimeTest.tc.target.run('which df')[0] == 0, "No df in image or no connection") class DfTest(oeRuntimeTest): -- cgit v1.2.3-54-g00ecf