mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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. (From OE-Core rev: 8bbb7116cf02466dfc59a17dc7bb51287aeea55b) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
655da29dac
commit
656a8b97c1
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user