Multiconfig was not being tested at all. This adds a few basic
tests for multiconfig, including globbing.
[Yocto #11612]
Signed-off-by: Humberto Ibarra
---
meta/lib/oeqa/selftest/cases/multiconfig.py | 100
1 file changed, 100 insertions(+)
create mode 100644 meta
at:
git://git.yoctoproject.org/poky-contrib humberto/Multiconfig
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=humberto/Multiconfig
Humberto Ibarra (1):
multiconfig.py: added testsuite for multiconfig
meta/lib/oeqa/selftest/cases/multiconfig.py | 100
Add new testcase to check varibale IMAGE_GEN_DEBUGFS. Test makes
sure that debug filesystem is created accordingly.
[YOCTO #10906]
Signed-off-by: Humberto Ibarra
---
meta/lib/oeqa/selftest/cases/imagefeatures.py | 21 +
1 file changed, 21 insertions(+)
diff --git a/meta
:
git://git.yoctoproject.org/poky-contrib humberto/ImageGenDebugfs
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=humberto/ImageGenDebugfs
Humberto Ibarra (1):
imagefeatures.py: Added testcase to track IMAGE_GEN_DEBUGFS
meta/lib/oeqa/selftest/cases/imagefeatures.py | 21
Add new testcase to check varibale IMAGE_GEN_DEBUGFS. Test makes
sure that debug filesystem is created accordingly.
[YOCTO #10906]
Signed-off-by: Humberto Ibarra
---
meta/lib/oeqa/selftest/cases/imagefeatures.py | 26 ++
1 file changed, 26 insertions(+)
diff --git a
:
git://git.yoctoproject.org/poky-contrib humberto/ImageGenDebugfs
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=humberto/ImageGenDebugfs
Humberto Ibarra (1):
imagefeatures.py: Added testcase to track IMAGE_GEN_DEBUGFS
meta/lib/oeqa/selftest/cases/imagefeatures.py | 26
Add new testcase to check varibale IMAGE_GEN_DEBUGFS. Test makes
sure that debug filesystem and packages are created accordingly.
[YOCTO #10906]
Signed-off-by: Humberto Ibarra
---
meta/lib/oeqa/selftest/cases/imagefeatures.py | 33 +++
1 file changed, 33 insertions
repository at:
git://git.yoctoproject.org/poky-contrib humberto/ImageGenDebugfs
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=humberto/ImageGenDebugfs
Humberto Ibarra (1):
imagefeatures.py: Added testcase to track IMAGE_GEN_DEBUGFS
meta/lib/oeqa/selftest/cases/imagefeatures.py
for dnf-runtime and also has an
extra time added to running the tests, but it is minimal since
the builds reuse data from previuous build.
[YOCTO #11436]
Signed-off-by: Humberto Ibarra
---
.../lib/oeqa/runtime/cases/dnf-runtime.py | 42 ++
meta-selftest/lib/oeqa
repository at:
git://git.yoctoproject.org/poky-contrib humberto/SplitDnfTestimage
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=humberto/SplitDnfTestimage
Humberto Ibarra (1):
runtime-test.py: Split different tests inside selftest.py
.../lib/oeqa/runtime/cases/dnf-runtime.py
The buildhistory_analysis module (in which buildhistory-diff is
based) was lacking unittest for its functions. Created selftest
module for this and a few testcases to cover basic cases.
[YOCTO #10727]
Signed-off-by: Humberto Ibarra
---
meta/lib/oeqa/selftest/oelib/buildhistory.py | 88
The buildhistory_analysis module (in which buildhistory-diff is
based) was lacking unittest for its functions. Created selftest
module for this and a few testcases to cover basic cases.
[YOCTO #10727]
Signed-off-by: Humberto Ibarra
---
meta/lib/oeqa/selftest/oelib/buildhistory.py | 88
environment were set in runtime-perf.py and the actual test is
done in a new testcase added to meta-selftest layer.
[YOCTO #10872]
Signed-off-by: Humberto Ibarra
---
meta-selftest/lib/oeqa/runtime/cases/selftest.py | 32
meta/lib/oeqa/selftest/runtime-test.py | 3
The word 'uninstall' was spelled incorrectly in various parts of
oeqa files.
Signed-off-by: Humberto Ibarra
---
meta-selftest/lib/oeqa/runtime/cases/selftest.py | 6 +++---
meta/lib/oeqa/oetest.py | 12 ++--
meta/lib/oeqa/selftest/runtime-test.py
python coverage versions lower than 4.x have problems with some distros. Adding
the 4.x version as requirement to continue with coverage tracking.
[YOCTO #10207]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 4
1 file changed, 4 insertions(+)
diff --git a/scripts/oe-selftest
Add a version field and option to argparse so the sntax version can be tracked
[YOCTO #8938]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index e0ef0c1
The current syntax of oe-selftest is messy. This patch reorganizes it in a
clearer way by grouping all functions in a 'run' subcommand and a 'list'
subcommand.
[YOCTO #8938]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 362 ++-
Refactoring of oe-selftest and adding version tracking for its syntax. These
patches need to be integrated at the same time as the corresponding change for
autobuilder to aovid breaking anything.
[YOCTO #8938]
Humberto Ibarra (2):
oe-selftest: reorganize syntax to use subcommands
oe
A different patch is going to be send to avoid this syntax change from breaking
autobuilder. Both patches belong to same bug (8938) and should be integrated
together.
[YOCTO #8938]
---
scripts/oe-selftest | 362 ++--
1 file changed, 184 insertions
The current syntax of oe-selftest is messy. This patch reorganizes it in a
clearer way by grouping all functions in a 'run' subcommand and a 'list'
subcommand.
[YOCTO #8938]
---
scripts/oe-selftest | 362 ++--
1 file changed, 184 insertions(+), 17
The current syntax of oe-selftest is messy. This patch reorganizes it in a
clearer way by grouping all functions in a 'run' subcommand and a 'list'
subcommand.
[YOCTO #8938]
---
scripts/oe-selftest | 362 ++--
1 file changed, 184 insertions(+), 17
The current syntax of oe-selftest is messy. This patch reorganizes it in a
clearer way by grouping all functions in a 'run' subcommand and a 'list'
subcommand.
[YOCTO #8938]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 358 +++
There is a typo in the logging parameters, "filname" is being used instead of
"filename" for yocto-kernel, yocto-layer and wic scripts. This didn't cause
issues before since python 2 didn't validate unused parameters but with python
>= 3.4.3 an exception is thrown. This patch fixes this paramete
Commit ab75075e7941c8c2ec429c180976702cd311c978 broke the string formatting
for multiple arguments. Since parentheses were removed the formatting considers
only first argument instead of all of them. Fixed parentheses on the formatting.
[YOCTO #9723]
Signed-off-by: Humberto Ibarra
---
scripts
Have to convert implicit relative imports to explicit imports since
implicit relative imports are not supported on python3.
[YOCTO #9723]
Signed-off-by: Humberto Ibarra
---
scripts/lib/bsp/kernel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/bsp/kernel.py b
According to https://docs.python.org/3/whatsnew/3.0.html python3
renamed 'raw_input' to 'input'. Making the appropiate changes for
this.
[YOCTO #9723]
Signed-off-by: Humberto Ibarra
---
scripts/lib/bsp/engine.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Python3 introduced a few errors that avoided yocto-bsp from being
able to create a BSP. This patch set solves these issues.
[YOCTO #9723]
Humberto Ibarra (3):
scripts/lib/bsp/engine.py: Rename raw_input commands to input
scripts/lib/bsp/kernel.py: python3: use explicit relative imports
There is a typo in the logging parameters, "filname" is being used instead
of "filename". This didn't cause issues before since python 2 didn't
validate unused parameters but with python >= 3.4.3 an exception is
thrown. This patch fixes this parameter name.
[Yoct
Commit af9f6b88fcc5d7fddff01595f9bcf2aba548720 introduced a syntax
error in engine.py by removing keyword "in". This patch adds it back.
[Yocto #9719]
Signed-off-by: Humberto Ibarra
---
scripts/lib/bsp/engine.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/s
The script bitbake-whatchanged uses optparse library, which is
deprecated since python 2.7. This migrates to argparse library.
[Yocto #9634]
Signed-off-by: Humberto Ibarra
---
scripts/bitbake-whatchanged | 32
1 file changed, 12 insertions(+), 20 deletions
The --list-tests option assumes a terminal of 150 characters wide,
which is clearly wrong. The output for this command is messy and
hard to understand for lower widths. Every command should look
good in a 80 characters terminal.
Unfortunately, this can't be done at the moment. The bad naming of
te
The --list-tests option assumes a terminal of 150 characters wide,
which is clearly wrong. The output for this command is messy and
hard to understand for lower widths. Every command should look
good in a 80 characters terminal.
Unfortunately, this can't be done at the moment. The bad naming of
te
introduced in that bug (8930).
This series handles all these issues caused by #8930.
Humberto Ibarra (3):
scripts/oe-selftest: remove unneeded coverage warning
scripts/oe-selftest: remove coverage file if any coverage option is
given
scripts/oe-selftest: avoid the creation of coverage file
coverage option was
given.
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 31 ---
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 2348b47..375ba5c 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe
installed.
[Yocto #9334]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 375ba5c..3d2dffb 100755
--- a/scripts/oe-selftest
+++ b/scripts/o
There is a message that warns the user about enabling subprocessing
for coverage to work. After the fix for Yocto #8930,
this task is done automatically, so the warning is not needed
anymore.
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 4 +---
1 file changed, 1 insertion(+), 3
data file name won't have any
identifier, causing following runs to overwrite themselves. On the
other hand, if too many tests are given, the file name exceeds linux
limits and fails to store the coverage data all together.
[Yocto #9253]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest
From: Humberto Ibarra
Add the options --codedump and --skip-git-check to the yocto-bsp help and
yocto-bsp usage, since they are currently missing.
[YOCTO #8322]
Signed-off-by: Humberto Ibarra
---
scripts/lib/bsp/help.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/lib/bsp
From: Humberto Ibarra
Add short names to most common options in oe-selftest. The options
changed were --run-tests, --run-all-tests, --list-tests and
--list-modules.
[Yocto #9079]
Signed-off-by: Humberto Ibarra
---
scripts/oe-selftest | 8
1 file changed, 4 insertions(+), 4 deletions
From: Humberto Ibarra
The oe-selftest script required an exact matching for the parameters
passed to its run-tests-by and list-tests-by options. Many tests
can be retrieved here and filtering is a must.
This patch add this filtering functionality by enabling the use
of wildcards such as
From: Humberto Ibarra
Coverage in oe-selftest currently requires to create or modify
a sitecustomize.py file according the coverage tool setup instructions
(http://coverage.readthedocs.org/). This file has to be located in
the system's python folder, which is not a good solution since
From: Humberto Ibarra
When --coverage is used, oe-selftest gathers coverage data from the testcases
executed. The command lacks a way of filtering which files to gather coverage
data from.
This patch adds three options to specify which files should be considered.
The --coverage-source option
From: Humberto Ibarra
Enables filtering to the files to be measured with coverage and adds temporal
file to enable subprocessing
Humberto Ibarra (2):
scripts/oe-selftest: Add filtering to the coverage data gathered
by oe-selftest
scripts/oe-selftest: Use site.USER_SITE to run
From: Humberto Ibarra
Enables filtering to the files to be measured with coverage and adds temporal
file to enable subprocessing
Humberto Ibarra (2):
scripts/oe-selftest: Add filtering to the coverage data gathered
by oe-selftest
scripts/oe-selftest: Use site.USER_SITE to run
From: Humberto Ibarra
Coverage in oe-selftest currently requires to create or modify
a sitecustomize.py file according the coverage tool setup instructions
(http://coverage.readthedocs.org/). This file has to be located in
the system's python folder, which is not a good solution since
From: Humberto Ibarra
When --coverage is used, oe-selftest gathers coverage data from the testcases
executed. The command lacks a way of filtering which files to gather coverage
data from.
This patch adds three options to specify which files should be considered.
The --coverage-source option
From: Humberto Ibarra
Coverage in oe-selftest currently requires to create or modify
a sitecustomize.py file according the coverage tool setup instructions
(http://coverage.readthedocs.org/). This file has to be located in
the system's python folder, which is not a good solution since
From: Humberto Ibarra
When --coverage is used, oe-selftest gathers coverage data from the testcases
executed. The command lacks a way of filtering which files to gather coverage
data from.
This patch adds three options to specify which files should be considered.
The --coverage-source option
From: Humberto Ibarra
Enables filtering to the files to be measured with coverage and adds
temporal file to enable subprocessing
Humberto Ibarra (2):
scripts/oe-selftest: Add filtering to the coverage data gathered
by oe-selftest
scripts/oe-selftest: Use site.USER_SITE to run
From: Humberto Ibarra
Coverage data tracking initiates too early, causing coverage data from the
oe-selftest environment setting to be added to each run. Even when no tests are
run
oe-selftest reports around 24% of coverage due to this extra data.
Change the custom resultclass used by the
From: Humberto Ibarra
The yocto-layer script puts and extra "meta-" prefix on the given layer
name even when the prefix is already there. This fix avoids duplicating
the prefix in these situations.
The change was done inside the create subcommand since this is a parsing
specific to
From: Humberto Ibarra
Before the change:
$ yocto-layer create meta-layer2
...
New layer created in meta-meta-layer2.
-
After the change:
$ yocto-layer create meta-layer2
...
New layer created in meta-layer2.
Signed-off-by: Humberto Ibarra
---
scripts/yocto-layer | 6 +-
1 file
From: Humberto Ibarra
The yocto-layer script puts an extra "meta-" prefix to the given layer
name even when the prefix is already there. This fix avoids
duplicating the prefix in these situations.
[YOCTO #8050]
Signed-off-by: Humberto Ibarra
---
scripts/yocto-layer | 2 ++
1 file
53 matches
Mail list logo