From 8e26ab7d52edd13ffa50b2d0b26606bea8890e76 Mon Sep 17 00:00:00 2001 From: Lucian Musat Date: Fri, 25 Jul 2014 12:02:30 +0300 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/scp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/lib/oeqa/runtime/scp.py') 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 @@ import os from oeqa.oetest import oeRuntimeTest, skipModule -from oeqa.utils.decorators import skipUnlessPassed +from oeqa.utils.decorators import skipUnlessPassed, testcase def setUpModule(): if not (oeRuntimeTest.hasPackage("dropbear") or oeRuntimeTest.hasPackage("openssh-sshd")): @@ -8,6 +8,7 @@ def setUpModule(): class ScpTest(oeRuntimeTest): + @testcase(220) @skipUnlessPassed('test_ssh') def test_scp_file(self): test_log_dir = oeRuntimeTest.tc.d.getVar("TEST_LOG_DIR", True) -- cgit v1.2.3-54-g00ecf