diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2013-07-12 19:08:53 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-15 10:29:27 -0700 |
commit | 8bbb7116cf02466dfc59a17dc7bb51287aeea55b (patch) | |
tree | a960121997c6fd2f61cd08327209ae55013edf90 /meta/lib/oeqa | |
parent | ba58f1fe8fb7a0e3ff9320dfc108235d484da6a1 (diff) | |
download | openembedded-core-8bbb7116cf02466dfc59a17dc7bb51287aeea55b.tar.gz openembedded-core-8bbb7116cf02466dfc59a17dc7bb51287aeea55b.tar.bz2 openembedded-core-8bbb7116cf02466dfc59a17dc7bb51287aeea55b.zip |
testimage.bbclass, lib/oeqa: add headers and comments
Adds some comments to testimage.bbclass and the files it calls,
just to give an ideea of what it does.
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 9 | ||||
-rw-r--r-- | meta/lib/oeqa/utils/decorators.py | 8 | ||||
-rw-r--r-- | meta/lib/oeqa/utils/sshcontrol.py | 9 |
3 files changed, 26 insertions, 0 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 5777ff8852..7f6baa4038 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py @@ -1,3 +1,12 @@ +# Copyright (C) 2013 Intel Corporation +# +# Released under the MIT license (see COPYING.MIT) + +# Main unittest module used by testimage.bbclass +# This provides the oeRuntimeTest base class which is inherited by all tests in meta/lib/oeqa/runtime. + +# It also has some helper functions and it's responsible for actually starting the tests + import os, re, mmap import unittest import inspect diff --git a/meta/lib/oeqa/utils/decorators.py b/meta/lib/oeqa/utils/decorators.py index 21e6b22cb9..adec65eb44 100644 --- a/meta/lib/oeqa/utils/decorators.py +++ b/meta/lib/oeqa/utils/decorators.py @@ -1,3 +1,11 @@ +# Copyright (C) 2013 Intel Corporation +# +# Released under the MIT license (see COPYING.MIT) + +# Some custom decorators that can be used by unittests +# Most useful is skipUnlessPassed which can be used for +# creating dependecies between two test methods. + from oeqa.oetest import * class skipIfFailure(object): diff --git a/meta/lib/oeqa/utils/sshcontrol.py b/meta/lib/oeqa/utils/sshcontrol.py index 6c61caa908..8f98c45354 100644 --- a/meta/lib/oeqa/utils/sshcontrol.py +++ b/meta/lib/oeqa/utils/sshcontrol.py @@ -1,3 +1,12 @@ +# Copyright (C) 2013 Intel Corporation +# +# Released under the MIT license (see COPYING.MIT) + +# Provides a class for setting up ssh connections, +# running commands and copying files to/from a target. +# It's used by testimage.bbclass and tests in lib/oeqa/runtime. + + import subprocess import time import os |