summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/scp.py
diff options
context:
space:
mode:
authorLucian Musat <georgex.l.musat@intel.com>2014-07-25 12:02:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-25 16:54:42 +0100
commit8e26ab7d52edd13ffa50b2d0b26606bea8890e76 (patch)
tree2b2bcfc87341d3a5136710c8412fb6348ce2069d /meta/lib/oeqa/runtime/scp.py
parent242cceeedf2351e4337d8e45fb4c2c8360937ead (diff)
downloadpoky-8e26ab7d52edd13ffa50b2d0b26606bea8890e76.tar.gz
oeqa/rutime: Added testcase decorators for automated runtime tests. Also added LogResults decorator for oeTest class in oetest.py
(From OE-Core rev: 95b83084487d0712362ade8ac487999c3274bb96) Signed-off-by: Lucian Musat <georgex.l.musat@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/scp.py')
-rw-r--r--meta/lib/oeqa/runtime/scp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/scp.py b/meta/lib/oeqa/runtime/scp.py
index 03095bf966..48e87d2d0b 100644
--- a/meta/lib/oeqa/runtime/scp.py
+++ b/meta/lib/oeqa/runtime/scp.py
@@ -1,6 +1,6 @@
1import os 1import os
2from oeqa.oetest import oeRuntimeTest, skipModule 2from oeqa.oetest import oeRuntimeTest, skipModule
3from oeqa.utils.decorators import skipUnlessPassed 3from oeqa.utils.decorators import skipUnlessPassed, testcase
4 4
5def setUpModule(): 5def setUpModule():
6 if not (oeRuntimeTest.hasPackage("dropbear") or oeRuntimeTest.hasPackage("openssh-sshd")): 6 if not (oeRuntimeTest.hasPackage("dropbear") or oeRuntimeTest.hasPackage("openssh-sshd")):
@@ -8,6 +8,7 @@ def setUpModule():
8 8
9class ScpTest(oeRuntimeTest): 9class ScpTest(oeRuntimeTest):
10 10
11 @testcase(220)
11 @skipUnlessPassed('test_ssh') 12 @skipUnlessPassed('test_ssh')
12 def test_scp_file(self): 13 def test_scp_file(self):
13 test_log_dir = oeRuntimeTest.tc.d.getVar("TEST_LOG_DIR", True) 14 test_log_dir = oeRuntimeTest.tc.d.getVar("TEST_LOG_DIR", True)