1418test_recipetool_create_cmake
1422test_qemu
1423test_devtool_add_git_local
1433test_devtool_upgrade_git
1434test_sanity_unsafe_binary_references
1435test_read_only_image
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/se
__
Filtering by:tag
Looking for: tag*
Total found: 4
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/oe-selftest | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/scripts/oe-selftest b/scri
The output table is now able to adjust it's size so the
content is nicely aligned.
fix for [YOCTO #9243]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/oe-selftest | 34 +-
1 file changed, 21 insertions(+), 13 deletions(-)
__
Filtering by:tag
Looking for: tag*
Total found: 4
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/oe-selftest | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/scripts/oe-selftest b/scri
'test_layer_git_revisions_are_displayed_and_do_not_fail_without_git_repo'
was renamed to 'test_layer_without_git_dir' which is shorter.
fix for [YOCTO #9243]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 2 +-
1 file chan
Test that layer git revisions are displayed and
do not fail without git repository.
fix for [YOCTO #8852]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 43 +-
1 file changed, 42 insertions
Test that layer git revisions are displayed and
do not fail without git repository.
fix for [YOCTO #8852]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 43 +-
1 file changed, 42 insertions
Test that layer git revisions are displayed and
do not fail without git repository.
fix for [YOCTO #8852]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 46 +-
1 file changed, 45 insertions
It shares many functionality with oe-selftest.
It requires an aditional argument --recipe
in order to know on which recipe to test against.
Test recipes should be located at:
meta/lib/oeqa/recipetests/
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/test-
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/runner.py | 59
scripts/oe-selftest | 65 ++---
2 files changed, 72 insertions(+), 52 deletions(-)
diff --git
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/runner.py | 108 +++-
scripts/oe-selftest | 106 +--
2 files changed, 108 insertions(+), 106 deletions(-)
diff
Selectively use each combination of .bbappend files with the recipe;
All the combinations should not break the recipe build
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/recipetests/buildrecipe.py | 59 +++-
1 file chang
Test Recipes should inherit this class.
It sets up a custom tmp dir for the recipe under test.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/recipetests/base.py | 25 +
1 file changed, 25 insertions(+)
create mode 100644 me
Moved methods to runner and added parameters to them in
order for them to be used by other runners.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/runner.py | 344
scripts/oe-selftest
get_all_available_recipes, is_recipe_valid, get_tasks_for_recipe
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/utils/commands.py | 20
1 file changed, 20 insertions(+)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa
Includes tests for:
1. test build recipe for all major architectures
2. test rebuild recipe from sstate 1 (with sstate)
3. test_rebuild_recipe_from_sstate_2 (without sstate)
4. test cleaning operations on recipe
5. test force major tasks on recipe
fix for [YOCTO #6370]
Signed-off-by: Daniel
This method runs 'bitbake-layers show-appends' and
returns a dictionary {recipe: [bbappends], ..}
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/utils/commands.py | 22 ++
1 file changed, 22 insertions(+)
diff --git a/meta/li
BitBake should append to recipe in a predictable order.
fix for [YOCTO #9145]
test for [YOCTO #9138]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/bbtests.py | 23 +++
1 file changed, 23 insertions(+)
diff --git a/me
Bitbake option to restore from sstate only within a build
(i.e. execute no real tasks, only setscene)
fix for [YOCTO #8876]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/bbtests.py | 15 +++
1 file changed, 15 insertions(+)
Bitbake option to restore from sstate only within a build
(i.e. execute no real tasks, only setscene)
fix for [YOCTO #8876]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/bbtests.py | 14 ++
1 file changed, 14 insertions(+)
diff
Test that layer git revisions are displayed and
do not fail without git repository.
fix for [YOCTO #8852]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 32 +++-
1 file changed, 31 insertions
fix for [YOCTO #8706]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/signing.py | 48 +++
1 file changed, 48 insertions(+)
diff --git a/meta/lib/oeqa/selftest/signing.py
b/meta/lib/oeqa/selftest/sign
1391 for test_devtool_add_fetch_simple from devtool
1392 for test_recipetool_create_simple from recipetool
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py| 1 +
meta/lib/oeqa/selftest/recipetool.py | 1 +
2 files changed, 2 inse
random
Also update oeqa/selftest/base.py to accomodate this feature.
Fix for [YOCTO #5880].
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/base.py | 64 ++
scripts/oe-selftest| 37 +++
Moved test_buildhistory_does_not_change_signatures from
buildhistory/BuildhistoryBase to buildoptions/BuildhistoryTests.
The test being in the base class was causing it to run
multiple times.
Fix for [YOCTO #8867]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
me
for [YOCTO #8862]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/oe-selftest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 08a5af3..1aee057 100755
--- a/scripts/oe-selftest
+++ b/scr
This option will list all available tests in a comprehensive manner.
Fix for [YOCTO #8868]
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/oe-selftest | 21 +
1 file changed, 21 insertions(+)
diff --git a/scripts/oe-selftest b/scri
random
Also update oeqa/selftest/base.py to accomodate this feature.
Fix for [YOCTO #5880].
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/base.py | 64 ++
scripts/oe-selftest| 37 +++
It makes sense for tests that use runqemu to have MACHINE set as qemu.
This also avoid issues when running oe-selftest with --arch random/all
option.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 7 ---
meta/li
It makes sense for tests that use runqemu to have MACHINE set as qemu.
This also avoid issues when running oe-selftest with --arch random/all
option.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 7 ---
meta/li
e oeqa/selftest/base.py to accomodate this feature.
Fix for [YOCTO #5880].
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/base.py | 49 --
scripts/oe-selftest| 34 +++---
It makes sense for tests that use runqemu to have MACHINE set as qemu.
This also avoid issues when running oe-selftest with --arch random/all
option.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 7 ---
meta/li
e oeqa/selftest/base.py to accomodate this feature.
Fix for [YOCTO #5880].
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/base.py | 39 +--
scripts/oe-selftest| 34 +++
oe-selftest --run-all-tests --arch random
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/base.py | 39 +--
scripts/oe-selftest| 34 +++---
2 files changed, 60 inser
It makes sense for tests that use runqemu to have MACHINE set as qemu.
This also avoid issues when running oe-selftest with --arch random/all
option.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 7 ---
meta/li
[YOCTO #5953] Add a test to ensure buildhistory does not
change signatures.
Also removed unused imports.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildhistory.py | 69 --
1 file changed, 65 insertions
bblayers: test_bitbakelayers_showrecipes1384
wic: test_directdisk_bootloader_config 1385
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/bblayers.py | 1 +
meta/lib/oeqa/selftest/wic.py | 2 +-
2 files changed, 2 insertions
) for a single tag
@tag(feature=(('signing', 'sstate')) or
@tag(feature=['signing', 'sstate']) for multiple tags
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/oe-selftest | 218 +++-
1 file changed, 216 in
-support/sqlite/sqlite3_3.9.0.bb
Suggested tests:
Rebuild: sqlite3
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
scripts/analyze_patch | 300
scripts/deps.txt | 628 ++
2 files change
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta-selftest/files/signing/key.pub| 30 ++
meta-selftest/files/signing/key.secret | 59 ++
meta-selftest/files/signing/secret.txt | 1 +
meta/lib/oeqa/selftest/signing.py
[YOCTO #8182] Optional signing sstate archives and signature verification
[YOCTO #8559] Signing sstate archives with custom dir for gpg keys
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/signing.py | 48
[YOCTO #8182] Optional signing sstate archives and signature verification
[YOCTO #8559] Signing sstate archives with custom dir for gpg keys
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/signing.py | 49
Added testcase decorators for testopia integration.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 11 +--
meta/lib/oeqa/selftest/manifest.py| 2 ++
meta/lib/oeqa/selftest/recipetool.py | 11 +++
meta/li
Also the TCs from meta-yocto-bsp/lib/oeqa/selftest/gummiboot were updated.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py | 2 +
meta/lib/oeqa/selftest/archiver.py| 1 +
meta/lib/oeqa/selftest/bblay
Added testcase decorators for testopia integration.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 8 ++--
meta/lib/oeqa/selftest/recipetool.py | 11 +++
meta/lib/oeqa/selftest/sstatetests.py | 14 --
Depends on:
http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111550.html
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta-selftest/files/signing/key.pub | 30
meta-selftest/files/signing/key.secret
Changed testcase decorator for TC test18_iso_image from 1264 to 1346.
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/wic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/se
].
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/bbtests.py | 45 ++-
1 file changed, 35 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oeqa/selftest/bbtests.py
b/meta/lib/oeqa/selftest/bbtests.py
index 3
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/wic.py | 33 +
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 3dc54a4..9425dc0
[YOCTO #6929] this test validates the feature introduced in bug 6929
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/archiver.py | 50 ++
1 file changed, 50 insertions(+)
create mode 100644 meta/lib/oeqa/se
Removed unused imports: unittest, logging, pexpect
Signed-off-by: Daniel Istrate <daniel.alexandrux.istr...@intel.com>
---
meta/lib/oeqa/selftest/buildoptions.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/lib/oeqa/selftest/buildoptions.py
b/meta/lib/oeqa/selftest/buildopti
[YOCTO #8017] - selftest does not use pkill qemu
[YOCTO #7976] - tests do not touch .ssh/known_hosts
- don't hardcode qemu IP
[YOCTO #8027] - use qemu nographic
Extra: removed unnecessary assert for bitbake and runCmd status
Signed-off-by: Daniel Istrate daniel.alexandrux.istr
(testcase 223) Check that only one connmand runs in background.
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/runtime/connman.py | 23 +++
1 file changed, 23 insertions(+)
diff --git a/meta/lib/oeqa/runtime/connman.py b/meta/lib/oeqa
testcase 195: Check rpm install/removal log file size
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/runtime/rpm.py | 37 +
1 file changed, 37 insertions(+)
diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime
testcase 240: Checks that bash is installed in image.
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/runtime/bash.py | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 meta/lib/oeqa/runtime/bash.py
diff --git a/meta/lib/oeqa
Updated testcases that use qemu to not interfere with other qemu instances
that might run in parallel.
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/selftest/imagefeatures.py | 153
1 file changed, 58 insertions(+), 95
bash:(240) check bash in image
connman: (223) Only one connmand in background
(963) test connmand file
rpm: (195) Check rpm install/removal log file size
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/runtime/bash.py| 23
):
+
+Summary: Check if clutter image can be built
+Expected:1. core-image-clutter can be built
+Product: oe-core
+Author: Ionut Chisanovici ionutx.chisanov...@intel.com
+AutomatedBy: Daniel Istrate daniel.alexandrux.istr...@intel.com
Added decorator to some testcases missing this feature.
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/selftest/bblayers.py | 1 +
meta/lib/oeqa/selftest/devtool.py | 15 +++
meta/lib/oeqa/selftest/layerappend.py | 1 +
meta/lib/oeqa
When oe-selftest starts it includes bblayers.inc into bblayers.conf
When oe-selftest ends it deletes bblayers.inc and the included line
from bblayers.conf
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
scripts/oe-selftest | 16 +++-
1 file changed, 15
Added methods for manipulating bblayers.conf file in the same manner as
local.conf file:
- write_bblayers_config
- append_bblayers_config
- remove_bblayers_config
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/selftest/base.py | 22
that wic command can create efi/gummiboot installation images
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/selftest/imagefeatures.py | 282
1 file changed, 282 insertions(+)
create mode 100644 meta/lib/oeqa/selftest
---
meta/lib/oeqa/selftest/base.py | 22 ++
scripts/oe-selftest| 16 +++-
2 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/base.py b/meta/lib/oeqa/selftest/base.py
index 80b9b4b..b2faa66 100644
---
---
meta/lib/oeqa/selftest/bblayers.py | 1 +
meta/lib/oeqa/selftest/devtool.py | 16
meta/lib/oeqa/selftest/layerappend.py | 1 +
meta/lib/oeqa/selftest/lic-checksum.py | 2 ++
meta/lib/oeqa/selftest/pkgdata.py | 8
+AutomatedBy: Daniel Istrate daniel.alexandrux.istr...@intel.com
+
+
+test_user = 'tester'
+root_user = 'root'
+prompt = r'qemux86:\S+[$#]\s+'
+tap_inf_ip = '192.168.7.2'
+
+features = 'EXTRA_IMAGE_FEATURES += ssh-server-openssh
empty-root-password\n
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/selftest/imagefeatures.py | 206
1 file changed, 206 insertions(+)
create mode 100644 meta/lib/oeqa/selftest/imagefeatures.py
diff --git a/meta/lib/oeqa/selftest/imagefeatures.py
Signed-off-by: Daniel Istrate daniel.alexandrux.istr...@intel.com
---
meta/lib/oeqa/utils/ftools.py | 4
1 file changed, 4 insertions(+)
diff --git a/meta/lib/oeqa/utils/ftools.py b/meta/lib/oeqa/utils/ftools.py
index 64ebe3d..e396591 100644
--- a/meta/lib/oeqa/utils/ftools.py
+++ b/meta
67 matches
Mail list logo