is present in the stamps directory. After, core-image-minimal
is built, ensuring linux-dummy can be used as a kernel substitute.
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/kernel.py | 29 +
1 file changed, 29 insertions(+)
create mode 100644 meta/lib
This patch adds functionality to allow creating subdirectories inside
lib/oeqa/selftest for all layers present in BBLAYERS. Like this, test
cases can be grouped into organized directories.
Addresses [YOCTO #7865]
Signed-off-by: Costin Constantin
---
scripts/oe-selftest | 53
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/kernel.py | 29 +
1 file changed, 29 insertions(+)
create mode 100644 meta/lib/oeqa/selftest/kernel.py
diff --git a/meta/lib/oeqa/selftest/kernel.py b/meta/lib/oeqa/selftest/kernel.py
new file mode 100644
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/utils/commands.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 32e001c..8220169 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
This patch adds functionality to allow creating subdirectories inside
lib/oeqa/selftest for all layers present in BBLAYERS. Like this, test
cases can be grouped into organized directories.
Addresses [YOCTO #7865]
Signed-off-by: Costin Constantin
---
scripts/oe-selftest | 55
recipes-core/meta/buildtools-with-tc.bb is a new recipe that uses
all buildtools-tarball has to offer and adds test cases support.
Signed-off-by: Costin Constantin
---
meta/recipes-core/meta/buildtools-with-tc.bb | 37
1 file changed, 37 insertions(+)
create mode
Please don't include these files. Their sole purpose is to provide
necessary ground to easily test the patch set.
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/runtime/mytest.py| 25 +
meta/recipes-test/hello-dut/files/hello.c
From: Lucian Musat
It is now possible to export tests from all the layers that are
added in bblayers even when grouped in folders. They are exported
in another folder called "extralayers" and nicely grouped per layer
so the test files won't mingle.
If a layer contains a conf/test folder then expo
From: Lucian Musat
Copy all the __init__.py files from all the extra layers
also, specified in bblayers.conf, in accordance to
TEST_SUITES variable.
Signed-off-by: Lucian Musat
---
meta/classes/testimage.bbclass | 67 +++---
meta/lib/oeqa/runexported.py |
From: Lucian Musat
Added support to change machine architecture on the fly and
support for future TestNeedsBin decorator for tests that need
binaries.
Signed-off-by: Lucian Musat
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/runexported.py | 22 ++
1 file changed, 22
From: Lucian Musat
It looks in "extralayers" folder if it can't find the test
that needs to be run.
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 14 ++
1 file changed, 14 insertions(+)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
index
From: Lucian Musat
It can accept parameters like oeqa.runtime. and it
will run all test files from that folder.
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
ind
From: Lucian Musat
You can add oeqa.runtime. and it will run all the
tests found in it. Basically extends the functionality of feature
[YOCTO #7834]
Signed-off-by: Lucian Musat
---
meta/classes/testimage.bbclass | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/me
From: Lucian Musat
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
index d273d2f..f147089 100755
--- a/meta/lib/oeqa/runexported.py
+++ b/meta/lib/oeqa/ru
From: Lucian Musat
You can now overwrite the default TEST_SUITES from the
json file and can choose the tests you want to run.
Also you can display the list of tests.
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-
related binaries after finishing the test.
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/utils/decorators.py | 58 +++
1 file changed, 58 insertions(+)
diff --git a/meta/lib/oeqa/utils/decorators.py
b/meta/lib/oeqa/utils/decorators.py
index 0d79223..a3878ef
This new file is encapsulating functionality for both
running tests with binaries support via TestNeedsBin() decorator
and exporting these binaries via testimage.bbclass file.
Addresses [YOCTO #7850], [YOCTO #8478], [YOCTO #8481],
[YOCTO #8536], [YOCTO #8694].
Signed-off-by: Costin Constantin
files separatelly.
This helps deployment of separate functionality files in
their own tarballs.
Partial fix for [YOCTO #7850].
Signed-off-by: Costin Constantin
---
meta/classes/testimage.bbclass | 74 +-
1 file changed, 73 insertions(+), 1 deletion(-)
diff
Each time oe-selftest runs, the oe-selftest.log file is overwritten.
This patch solves it by adding time stamp to each selftest log file
and doing a symlink named as oe-selftest.log to the last one created.
Signed-off-by: Costin Constantin
---
scripts/oe-selftest | 7 ++-
1 file changed, 6
Each time oe-selftest runs, the oe-selftest.log file is overwritten.
This patch solves it by adding time stamp to each selftest log file
and doing a symlink named as oe-selftest.log to the last one created.
Signed-off-by: Costin Constantin
---
scripts/oe-selftest | 5 +
1 file changed, 5
From: Lucian Musat
It is now possible to export tests from all the layers that are
added in bblayers even when grouped in folders. They are exported
in another folder called "extralayers" and nicely grouped per layer
so the test files won't mingle.
If a layer contains a conf/test folder then expo
recipes-core/meta/buildtools-with-tc.bb is a new recipe that uses
all buildtools-tarball has to offer and adds test cases support.
Signed-off-by: Costin Constantin
---
meta/recipes-core/meta/buildtools-with-tc.bb | 37
1 file changed, 37 insertions(+)
create mode
files separatelly.
This helps deployment of separate functionality files in
their own tarballs.
Partial fix for [YOCTO #7850].
Signed-off-by: Costin Constantin
---
meta/classes/testimage.bbclass | 126 +
1 file changed, 126 insertions(+)
diff --git a/meta
From: Lucian Musat
Added support to change machine architecture on the fly and
support for future TestNeedsBin decorator for tests that need
binaries.
Signed-off-by: Lucian Musat
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/runexported.py | 22 ++
1 file changed, 22
From: Lucian Musat
You can now overwrite the default TEST_SUITES from the
json file and can choose the tests you want to run.
Also you can display the list of tests.
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-
From: Lucian Musat
Copy all the __init__.py files from all the extra layers
also, specified in bblayers.conf, in accordance to
TEST_SUITES variable.
Signed-off-by: Lucian Musat
---
meta/classes/testimage.bbclass | 67 +++---
meta/lib/oeqa/runexported.py |
This new file is encapsulating functionality for both
running tests with binaries support via TestNeedsBin() decorator
and exporting these binaries via testimage.bbclass file.
Addresses [YOCTO #7850], [YOCTO #8478], [YOCTO #8481],
[YOCTO #8536], [YOCTO #8694].
Signed-off-by: Costin Constantin
From: Lucian Musat
It looks in "extralayers" folder if it can't find the test
that needs to be run.
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 14 ++
1 file changed, 14 insertions(+)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
index
From: Lucian Musat
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
index d273d2f..f147089 100755
--- a/meta/lib/oeqa/runexported.py
+++ b/meta/lib/oeqa/ru
From: Lucian Musat
It can accept parameters like oeqa.runtime. and it
will run all test files from that folder.
Signed-off-by: Lucian Musat
---
meta/lib/oeqa/runexported.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
ind
/poky-contrib/log/?h=ciorga/CI2-YOCTO7850
Costin Constantin (4):
oeqa/utils/testexport.py: add functionality for exporting binaries
classes/testimage.bbclass: add support for binaries export
utils/decorators.py: add TestNeedsBin() decorator
buildtools-with-tc.bb: extend buildtools-tarball to
related binaries after finishing the test.
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/utils/decorators.py | 48 +++
1 file changed, 48 insertions(+)
diff --git a/meta/lib/oeqa/utils/decorators.py
b/meta/lib/oeqa/utils/decorators.py
index 0d79223..93a728e
From: Lucian Musat
You can add oeqa.runtime. and it will run all the
tests found in it. Basically extends the functionality of feature
[YOCTO #7834]
Signed-off-by: Lucian Musat
---
meta/classes/testimage.bbclass | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/me
This patch fixes a small bug that prevents seting a git repo in exported SDK
layers dir. Before setting a git repo, that directory needs to be created.
Signed-off-by: Costin Constantin
---
scripts/oe-publish-sdk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/oe
tests that will run on remote testing env.
without presence of poky
related to [Yocto #7850]
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/utils/decorators.py | 73 +--
1 file changed, 71 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/utils/d
This patch fixes the ability to correctly identify syslog's package
name for the built image. It is derived from modifying oeqa/oetest.py
for [YOCTO #8170]
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/runtime/syslog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
Modified hasPackage() to split the content of pkg. manifest file
in containing lines and search at the begining of each line the
existance of the needed pkg.
[YOCTO #8170]
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/oetest.py | 10 ++
1 file changed, 6 insertions(+), 4 deletions
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 483803b..655b5da 100644
--- a/meta/lib/oeqa/selftest
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/sstatetests.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/selftest/sstatetests.py
b/meta/lib/oeqa/selftest/sstatetests.py
index 2599e0b..6eacb57 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/sstatetests.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/selftest/sstatetests.py
b/meta/lib/oeqa/selftest/sstatetests.py
index 9258b53..2599e0b 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 29 +
1 file changed, 29 insertions(+)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index e79be9e..9ef7776 100644
--- a/meta/lib/oeqa
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 30 ++
1 file changed, 30 insertions(+)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index e79be9e..ab009f2 100644
--- a/meta/lib/oeqa
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 15 +++
1 file changed, 15 insertions(+)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 10e4fc5..e79be9e 100644
--- a/meta/lib/oeqa/selftest
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 13ec276..10e4fc5 100644
--- a/meta/lib/oeqa
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/prservice.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oeqa/selftest/prservice.py
b/meta/lib/oeqa/selftest/prservice.py
index fb6d68d..4187fbf 100644
--- a/meta/lib/oeqa/selftest/prservice.py
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/recipetool.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/recipetool.py
b/meta/lib/oeqa/selftest/recipetool.py
index 08ff4f1..12c6b25 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/pkgdata.py | 86 +++
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/meta/lib/oeqa/selftest/pkgdata.py
b/meta/lib/oeqa/selftest/pkgdata.py
index c4d34bd..138b03a 100644
--- a/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/devtool.py | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oeqa/selftest/devtool.py
b/meta/lib/oeqa/selftest/devtool.py
index ab412b6..21cd7f5 100644
--- a/meta/lib/oeqa/selftest
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/bbtests.py | 58 ---
1 file changed, 30 insertions(+), 28 deletions(-)
diff --git a/meta/lib/oeqa/selftest/bbtests.py
b/meta/lib/oeqa/selftest/bbtests.py
index 7df6b2f..3d6860f 100644
--- a/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 926ffe9..13ec276 100644
--- a/meta
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/bblayers.py | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/meta/lib/oeqa/selftest/bblayers.py
b/meta/lib/oeqa/selftest/bblayers.py
index bf3dd1b..20c17e4 100644
--- a/meta/lib/oeqa
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/bblayers.py | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/meta/lib/oeqa/selftest/bblayers.py
b/meta/lib/oeqa/selftest/bblayers.py
index bf3dd1b..6a9c097 100644
--- a/meta/lib/oeqa/selftest
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/bbtests.py | 54 ---
1 file changed, 28 insertions(+), 26 deletions(-)
diff --git a/meta/lib/oeqa/selftest/bbtests.py
b/meta/lib/oeqa/selftest/bbtests.py
index 7df6b2f..8301790 100644
--- a/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/wic.py | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 358f09e..45abd3b 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta
Signed-off-by: Costin Constantin
---
scripts/oe-selftest | 36
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index a04e9fc..1a89c31 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -16,7
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index cddfa48..be75311 100644
--- a/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 29 +
1 file changed, 29 insertions(+)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index a3297fd..cddfa48 100644
--- a/meta/lib/oeqa
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 27 +--
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index c69da68..a3297fd 100644
--- a/meta
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 926ffe9..c69da68 100644
--- a/meta/lib/oeqa
Signed-off-by: Costin Constantin
---
meta/classes/testimage.bbclass | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 4074ff7..aadee45 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 36 ++
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 8cacd1e..257122a 100644
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 620fd77..8cacd1e 100644
--- a/meta/lib
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 29 +
1 file changed, 9 insertions(+), 20 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index e48bd04..620fd77 100644
--- a/meta
Signed-off-by: Costin Constantin
---
meta/lib/oeqa/selftest/buildoptions.py | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildoptions.py
index 926ffe9..e48bd04 100644
--- a
64 matches
Mail list logo