[OE-core] [RFC 0/2] scripts/runqemu: 'qemuzynq' and 'qemumicroblaze'

2013-06-17 Thread Nathan Rossi
pitz' machines exist in the runqemu scripts but are not part of oe-core's machine conf's. Regards, Nathan Nathan Rossi (2): scripts/runqemu: Add support for 'qemuzynq' machine scripts/runqemu: Add support for 'qemumicroblaze' machine scri

[OE-core] [RFC 1/2] scripts/runqemu: Add support for 'qemuzynq' machine

2013-06-17 Thread Nathan Rossi
* Add support to boot the 'qemuzynq' machine in qemu-system-arm * Use the specific machine model for Zynq 'xilinx-zynq-a9' * Use the DTB generated from the kernel build as the DTB for boot * Force use of initrd rootfs (either in ext or cpio formats) Signed-off-by: Nathan

[OE-core] [RFC 2/2] scripts/runqemu: Add support for 'qemumicroblaze' machine

2013-06-17 Thread Nathan Rossi
mats) Signed-off-by: Nathan Rossi --- scripts/runqemu |5 - scripts/runqemu-internal | 13 + 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 01ef741..5f7f252 100755 --- a/scripts/runqemu +++ b/scripts/runq

[OE-core] [PATCH 0/2] scripts/runqemu: 'qemuzynq' and 'qemumicroblaze'

2013-07-04 Thread Nathan Rossi
The following patches add support to the runqemu scripts to allow for the machines named 'qemuzynq' and 'qemumicroblaze' to be booted within qemu. These target machines reside in the 'meta-xilinx' layer. Regards, Nathan Nathan Rossi (2): scripts/runqemu: Add

[OE-core] [PATCH 1/2] scripts/runqemu: Add support for 'qemuzynq' machine

2013-07-04 Thread Nathan Rossi
* Add support to boot the 'qemuzynq' machine in qemu-system-arm * Use the specific machine model for Zynq 'xilinx-zynq-a9' * Use the DTB generated from the kernel build as the DTB for boot * Force use of initrd rootfs (either in ext or cpio formats) Signed-off-by: Nathan

[OE-core] [PATCH 2/2] scripts/runqemu: Add support for 'qemumicroblaze' machine

2013-07-04 Thread Nathan Rossi
mats) Signed-off-by: Nathan Rossi --- scripts/runqemu |5 - scripts/runqemu-internal | 13 + 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 01ef741..5f7f252 100755 --- a/scripts/runqemu +++ b/scripts/runq

Re: [OE-core] [PATCH 0/2] scripts/runqemu: 'qemuzynq' and 'qemumicroblaze'

2013-07-09 Thread Nathan Rossi
> -Original Message- > From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] > Sent: Wednesday, July 10, 2013 1:54 AM > To: openembedded-core@lists.openembedded.org > Cc: Nathan Rossi; meta-xil...@yoctoproject.org > Subject: Re: [OE-core] [PATCH 0/2] scripts/runqe

[OE-core] [PATCH] linux-dummy.bb: Resolve missing task issues

2013-09-30 Thread Nathan Rossi
ramfs". This change adds a dummy task which resolves the dependency issue. Signed-off-by: Nathan Rossi --- This issue affects both master and the dora branch. --- meta/recipes-kernel/linux/linux-dummy.bb |7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-kernel/l

[OE-core] [PATCH] attr: attr_2.4.47 release tarball missing configure.ac

2013-11-25 Thread Nathan Rossi
source repository at the v2.4.47 tag) See the mailing list thread for additional information: http://lists.nongnu.org/archive/html/acl-devel/2013-05/msg00024.html Signed-off-by: Nathan Rossi --- On an additional note, acl 2.2.52 is also affected by this issue. However it does not affect oe-core as

[OE-core] [PATCH] attr: attr_2.4.47 release tarball missing configure.ac

2013-11-25 Thread Nathan Rossi
source repository at the v2.4.47 tag) See the mailing list thread for additional information: http://lists.nongnu.org/archive/html/acl-devel/2013-05/msg00024.html Signed-off-by: Nathan Rossi --- On an additional note, acl 2.2.52 is also affected by this issue. However it does not affect oe-core as

Re: [OE-core] [PATCH] attr: attr_2.4.47 release tarball missing configure.ac

2013-12-02 Thread Nathan Rossi
> -Original Message- > From: Saul Wold [mailto:s...@linux.intel.com] > Sent: Tuesday, December 03, 2013 6:00 AM > To: Nathan Rossi; openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] attr: attr_2.4.47 release tarball missing > configure.ac > >

[OE-core] [PATCH] attr: Add patch tracking details

2013-12-03 Thread Nathan Rossi
Add author tracking information to the attr patch added by commit b28f12a272a9e2f0c3084a58b91605acb05f58f8. Signed-off-by: Nathan Rossi --- This patch fixes up the missing signed-off-by line, This was requested in the following thread: http://lists.openembedded.org/pipermail/openembedded-core

[OE-core] [PATCH] ptest.bblass: Fix package QA issues when disabled

2014-01-07 Thread Nathan Rossi
ptest distro feature is enabled. Signed-off-by: Nathan Rossi --- meta/classes/ptest.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index ec10f80..3450085 100644 --- a/meta/classes/ptest.bbclass +++ b/meta

Re: [OE-core] [PATCH] ptest.bblass: Fix package QA issues when disabled

2014-01-08 Thread Nathan Rossi
> -Original Message- > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > Sent: Wednesday, January 08, 2014 10:58 PM > To: Nathan Rossi > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] ptest.bblass: Fix package QA issu

Re: [OE-core] unmaintained layers

2014-01-09 Thread Nathan Rossi
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > Trevor Woerner > Sent: Friday, January 10, 2014 4:45 AM > To: openembedded-core > Subject: [OE-core] unmaintained layers > > Hi everyone,

[OE-core] [PATCH v2] ptest.bblass: Fix package QA issues when disabled

2014-01-10 Thread Nathan Rossi
, replacing the conditional execution with the removal of the tasks from the build, this prevents any part (including cleandirs) of the ptest tasks from executing when disabled. Signed-off-by: Nathan Rossi --- meta/classes/ptest.bbclass | 25 - 1 file changed, 12 insertions

[OE-core] [PATCH] kernel.bbclass: Fix empty modules directory QA issue

2014-01-13 Thread Nathan Rossi
directory is empty and if so removes it. Signed-off-by: Nathan Rossi --- meta/classes/kernel.bbclass |4 1 file changed, 4 insertions(+) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 5fef446..6b4e992 100644 --- a/meta/classes/kernel.bbclass +++ b/meta

[OE-core] [PATCH v2] kernel.bbclass: Fix empty modules directory QA issue

2014-01-13 Thread Nathan Rossi
directory is empty and if so removes it. Signed-off-by: Nathan Rossi --- meta/classes/kernel.bbclass |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 5fef446..f4dcba5 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes

Re: [OE-core] [PATCH v2] kernel.bbclass: Fix empty modules directory QA issue

2014-01-27 Thread Nathan Rossi
> -Original Message- > From: Nathan Rossi [mailto:nathan.ro...@xilinx.com] > Sent: Tuesday, January 14, 2014 11:21 AM > To: openembedded-core@lists.openembedded.org > Cc: Nathan Rossi; Robert Yang > Subject: [PATCH v2] kernel.bbclass: Fix empty modules directory QA issue

Re: [OE-core] [RFT] eglibc 2.19

2014-02-09 Thread Nathan Rossi
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > Khem Raj > Sent: Sunday, February 09, 2014 2:08 AM > To: Patches and discussions about the oe-core layer; openembeded-devel; > yo...@yocto

[OE-core] [PATCH] kernel-yocto.bbclass: Force do_diffconfig depends to ${PN}

2014-02-20 Thread Nathan Rossi
inux-yocto-tiny_3.8.bb depends upon non-existent task do_kernel_configme in linux.bb Changing the dependency to use '${PN}:do_kernel_configme' forces the dependency to only depend on the recipe which inherits kernel-yocto.bbclass. Signed-off-by: Nathan Rossi --- This effects the linux

[OE-core] [PATCH] insane.bbclass: Updated MicroBlaze machine definitions

2013-04-07 Thread Nathan Rossi
://sourceware.org/ml/binutils/2009-08/msg00127.html) Signed-off-by: Nathan Rossi --- meta/classes/insane.bbclass |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 2f10688..75db7a2 100644 --- a/meta/classes

[OE-core] [PATCH 0/3] Improve devtmpfs and cpio support

2014-12-08 Thread Nathan Rossi
/pts interface early enough for other rc scripts like bootlogd so that there is no need for the CONFIG_LEGACY_PTYS to be enabled in the kernel. Nathan Rossi (3): image_types.bbclass: Populate cpio /init as symlink base-files: Add entry for /dev for cpio compatibility initscripts: Handle mounting

[OE-core] [PATCH 3/3] initscripts: Handle mounting /dev in mountall.sh

2014-12-08 Thread Nathan Rossi
CONFIG_LEGACY_PTYS. This change also allows for systems to run entirely on devtmpfs and have no dependence on a dev manager. This is useful for very tightly constrained setups. Signed-off-by: Nathan Rossi --- meta/recipes-core/busybox/files/mdev | 13 -- .../initscripts/initscripts-1.0

[OE-core] [PATCH 2/3] base-files: Add entry for /dev for cpio compatibility

2014-12-08 Thread Nathan Rossi
The kernel does not automount devtmpfs for a cpio/ramfs rootfs. Add an entry to /etc/fstab for the mounting of /dev as a devtmpfs. Signed-off-by: Nathan Rossi --- meta/recipes-core/base-files/base-files/fstab | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/base-files/base

[OE-core] [PATCH 1/3] image_types.bbclass: Populate cpio /init as symlink

2014-12-08 Thread Nathan Rossi
-by: Nathan Rossi --- meta/classes/image_types.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 9aee745..1b8ceee 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes

[OE-core] [PATCH] qemu: Update PACKAGECONFIG[xen] and add xen to defaults

2015-02-10 Thread Nathan Rossi
* Add build and runtime dependencies for PACKAGECONFIG[xen] * Add xen as a default PACKAGECONFIG option when it is part of DISTRO_FEATURES Signed-off-by: Nathan Rossi --- This patch comes about due to the handling of the PACKAGECONFIG value and that it is not straight forward to append to the

[OE-core] [PATCH] openssl: Add mapping for microblaze architecture

2015-02-11 Thread Nathan Rossi
Map the microblaze architecture to the linux-generic32 target. Signed-off-by: Nathan Rossi --- meta/recipes-connectivity/openssl/openssl.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc

[OE-core] [PATCH] libaio: Backport generic arch detection patch

2015-02-12 Thread Nathan Rossi
* Backport the patch which adds generic architecture detection * Remove the no longer required patch to fix padding for mips64 Signed-off-by: Nathan Rossi --- It appears the libaio_fix_for_mip64.patch changes are only upstream as far as the Debian patch overlays, and did not reach libaio

[OE-core] [PATCH] Revert "kernel-arch.bbclass: add arm64 support to U-Boot architecture map"

2015-02-18 Thread Nathan Rossi
U-Boot for the mkimage recipe and thus supports the 'arm64' architecture. Signed-off-by: Nathan Rossi --- meta/classes/kernel-arch.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index bbcfa15..6a6ad91 10064

[OE-core] [PATCH 0/11] Add gnu testsuite execution for OEQA

2019-08-27 Thread Nathan Rossi
cted failures occur is not included in this series. The OEQA test cases implement execution on qemu linux user by default. Subclasses implement qemu system emulation setup and configuration for running the tests. --- Nathan Rossi (11): binutils: Add do_check task for executing binutils test suite

[OE-core] [PATCH 5/11] glibc-testsuite: Create a recipe to implement glibc test suite

2019-08-27 Thread Nathan Rossi
th the same BUILD_TEST_* variables used for configuration. Signed-off-by: Nathan Rossi --- meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 51 + meta/recipes-core/glibc/glibc/check-test-wrapper | 71 2 files changed, 122 insertions(+) create mode 10064

[OE-core] [PATCH 4/11] gcc-common.inc: Process staging fixme with correct target/native sysroot

2019-08-27 Thread Nathan Rossi
root. Signed-off-by: Nathan Rossi --- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 96334e54b4..a8f4b60c32 100644 --- a/meta/recipes-devtools/gcc/

[OE-core] [PATCH 3/11] gcc-runtime: Add do_check task for executing gcc-runtime test suites

2019-08-27 Thread Nathan Rossi
Add a do_check task to implement execution of the gcc-runtime component test suites. The component test suites require execution of compiled programs on the target, this recipe reuses the same setup as gcc-cross for setup of the target (either as ssh or qemu linux-user). Signed-off-by: Nathan

[OE-core] [PATCH 2/11] gcc-cross: Add do_check task for executing gcc test suite

2019-08-27 Thread Nathan Rossi
setting MAKE_CHECK_TARGETS to the desired test suite target (e.g. check-gcc or check-g++). Signed-off-by: Nathan Rossi --- meta/recipes-devtools/gcc/gcc-cross.inc | 41 +++ meta/recipes-devtools/gcc/gcc-testsuite.inc | 106 2 files changed, 147 insertions

[OE-core] [PATCH 1/11] binutils: Add do_check task for executing binutils test suite

2019-08-27 Thread Nathan Rossi
: Nathan Rossi --- meta/recipes-devtools/binutils/binutils-cross.inc | 28 +++ 1 file changed, 28 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc index 02ec891606..76eb453f0e 100644 --- a/meta

[OE-core] [PATCH 6/11] binutils: Fix mips patch which changes default emulation

2019-08-27 Thread Nathan Rossi
The patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the 'targ_selvecs' replacing it with duplicate entries for 'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can still handle 'mips_elf32_ntrad_le_vec' binaries. Signed-of

[OE-core] [PATCH 8/11] oeqa/selftest/gcc: Create selftest case for gcc test suite

2019-08-27 Thread Nathan Rossi
linux-user and qemu system. The GccSelfTestSystemEmulated test case handles setup of the target image as well as execution with runqemu. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/gcc.py | 107 1 file changed, 107 insertions(+) create mode

[OE-core] [PATCH 7/11] oeqa/selftest/binutils: Create selftest case for binutils test suite

2019-08-27 Thread Nathan Rossi
Create a oeqa selftest test case to execute the binutils test suites and report the results. The results are populated into the extraresults variable of the test case which are written to testresults.json for resulttool to analyse. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases

[OE-core] [PATCH 9/11] oeqa/utils/nfs: Add unfs_server function to setup a userspace NFS server

2019-08-27 Thread Nathan Rossi
ee_port to get a free UDP port. Note: unfs3 still requires the host to have rpcbind or portmap running. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/utils/network.py | 4 ++-- meta/lib/oeqa/utils/nfs.py | 39 +++ 2 files changed, 41 insertions(+), 2

[OE-core] [PATCH 10/11] oeqa/selftest/glibc: Create selftest case for glibc test suite

2019-08-27 Thread Nathan Rossi
linux-user and qemu system. The GlibcSelfTestSystemEmulated test case handles setup of the target image, setup of and NFS server as well as execution with runqemu. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/glibc.py | 91 +++ 1 file changed, 91

[OE-core] [PATCH 11/11] scripts/lib/resulttool/report.py: Add more result types

2019-08-27 Thread Nathan Rossi
Add additional result types into the dictionary to handle dejagnu style test results. These include PASS, FAIL, XPASS, XFAIL, UNSUPPORTED, UNTESTED, UNRESOLVED and ERROR. Signed-off-by: Nathan Rossi --- scripts/lib/resulttool/report.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[OE-core] [PATCH v2 01/12] dejagnu: Add dejagnu for binutils/gcc test suites

2019-09-03 Thread Nathan Rossi
The binutils and gcc test suites use dejagnu for execution. Copy the dejagnu recipe from meta-oe, and update it to 1.6.2. Signed-off-by: Nathan Rossi --- Changes in v2: - New --- meta/recipes-devtools/dejagnu/dejagnu_1.6.2.bb | 15 +++ 1 file changed, 15 insertions(+) create mode

[OE-core] [PATCH v2 02/12] binutils-cross-testsuite: Create recipe for test suite execution

2019-09-03 Thread Nathan Rossi
r since the binutils tests do rely on a C compiler there is dependence on both gcc and libc in order to run the tests. Signed-off-by: Nathan Rossi --- Changes in v2: - Moved implementation of do_check from binutils-cross to binutils-cross-testsuite. This is to fix issues with target dependency

[OE-core] [PATCH v2 05/12] glibc-testsuite: Create a recipe to implement glibc test suite

2019-09-03 Thread Nathan Rossi
th the same TOOLCHAIN_TEST_* variables used for configuration. Signed-off-by: Nathan Rossi --- Changes in v2: - Renamed BUILD_TEST_* to TOOLCHAIN_TEST_* --- meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 51 + meta/recipes-core/glibc/glibc/check-test-wrappe

[OE-core] [PATCH v2 03/12] gcc-runtime: Add do_check task for executing gcc test suites

2019-09-03 Thread Nathan Rossi
changed by setting MAKE_CHECK_TARGETS to the desired test suite target (e.g. check-gcc or check-target-libatomic). Signed-off-by: Nathan Rossi --- Changes in v2: - Dropped gcc-cross changes, all execution from gcc-runtime. Resolves potential issues with -cross depending on target libraries/etc

[OE-core] [PATCH v2 06/12] oeqa/core/tests: Skip test_fail_duplicated_module

2019-09-03 Thread Nathan Rossi
At some point the modules in tests/cases/loader/invalid/ were removed, this test relied on having tests/cases/loader/invalid/oetag.py to trigger a ImportError in the loader module. Skip this test. Signed-off-by: Nathan Rossi --- Changes in v2: - New --- meta/lib/oeqa/core/tests/test_loader.py

[OE-core] [PATCH v2 04/12] gcc-common.inc: Process staging fixme with correct target/native sysroot

2019-09-03 Thread Nathan Rossi
root. Signed-off-by: Nathan Rossi --- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 89273a7745..44cba287f3 100644 --- a/meta/recipes-devtools/gcc/

[OE-core] [PATCH v2 00/12] Add gnu testsuite execution for OEQA

2019-09-03 Thread Nathan Rossi
oeqa/core testsuite - New changes to oeqa/selftest for '--run-only-tags' and '--run-exclude-tags' - Changes to new selftest tests to populate results like ptestresults - Mark new selftest tests with 'machine' tag --- Nathan Rossi (12): dejagnu: Add dejagnu for bin

[OE-core] [PATCH v2 08/12] oeqa/core: Rework OETestTag and remove unused OETestFilter

2019-09-03 Thread Nathan Rossi
any tests tagged with foo). Plumb all this through the context code and testing code. Update the associated tests to pass correctly with the changes. Signed-off-by: Nathan Rossi --- Changes in v2: - New --- meta/lib/oeqa/core/context.py | 4 +- meta/lib/oeqa/core/decorator/__init__.

[OE-core] [PATCH v2 11/12] oeqa/selftest/gcc: Create selftest case for gcc test suite

2019-09-03 Thread Nathan Rossi
linux-user and qemu system. The GccSelfTestSystemEmulated test case handles setup of the target image as well as execution with runqemu. Signed-off-by: Nathan Rossi --- Changed in v2: - Change to using only gcc-runtime recipe and associated check targets - Remove gxx/g++ testcase, this is part of

[OE-core] [PATCH v2 10/12] oeqa/selftest/binutils: Create selftest case for binutils test suite

2019-09-03 Thread Nathan Rossi
Create a oeqa selftest test case to execute the binutils test suites and report the results. The results are populated into the extraresults variable of the test case which are written to testresults.json for resulttool to analyse. Signed-off-by: Nathan Rossi --- Changes in v2: - Update to use

[OE-core] [PATCH v2 12/12] oeqa/selftest/glibc: Create selftest case for glibc test suite

2019-09-03 Thread Nathan Rossi
linux-user and qemu system. The GlibcSelfTestSystemEmulated test case handles setup of the target image, setup of and NFS server as well as execution with runqemu. Signed-off-by: Nathan Rossi --- Changes in v2: - Populate test results as ptestresults - Rename BUILD_TEST_* to TOOLCHAIN_TEST_

[OE-core] [PATCH v2 09/12] oeqa/selftest: Add test run filtering based on test tags

2019-09-03 Thread Nathan Rossi
Add '--run-only-tags' for running tests which match any of the provided tags, and '--run-exclude-tags' for running all tests except those that have any of the provided tags. Signed-off-by: Nathan Rossi --- Changes in v2: - New --- meta/lib/oeqa/selftest/context.py | 11

[OE-core] [PATCH v2 07/12] oeqa/core/tests: Fix test_data module tests

2019-09-03 Thread Nathan Rossi
These two tests relied on the context containing the results information. This was moved into the OETestResults class. Signed-off-by: Nathan Rossi --- Changes in v2: - New --- meta/lib/oeqa/core/tests/test_data.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[OE-core] [PATCH 1/4] oeqa/selftest/cases/glibc.py: Don't install python3 and pexpect

2019-09-04 Thread Nathan Rossi
When running the system emulation test case, do not include python3 or pexpect in the image. The test cases that use these also need gdb (with python configured). Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/glibc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OE-core] [PATCH 2/4] oeqa/selftest: For toolchain tests do not fail if a test failed

2019-09-04 Thread Nathan Rossi
Do not fail the running selftest test case if the test suite has a failed test case. Currently toolchain tests suites (binutils, gcc, glibc) fail but this does not indicate failure to execute the tests. Also remove the logging of each test that failed. Signed-off-by: Nathan Rossi --- meta/lib

[OE-core] [PATCH 3/4] maintainers.inc: Add entries for toolchain related recipes

2019-09-04 Thread Nathan Rossi
Add entries for the added toolchain related recipes including binutils-cross-testsuite and glibc-testsuite setting the maintainer as Khem to match existing definitions. Also and entry for dejagnu setting Nathan Rossi as the maintainer. Signed-off-by: Nathan Rossi --- meta/conf/distro/include

[OE-core] [PATCH 4/4] oeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results

2019-09-04 Thread Nathan Rossi
Suffix the ptestresults suite with "-user" for tests that are executing against usermode qemu. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/gcc.py | 1 + meta/lib/oeqa/selftest/cases/glibc.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH 3/3] oe-selftest: Implement console 'keepalive' output

2019-09-05 Thread Nathan Rossi
Similar to bitbake, implement a 'keepalive' output to the console to ensure CI systems do not kill the process. The default timeout for bitbake is 5000s. Signed-off-by: Nathan Rossi --- scripts/lib/scriptutils.py | 43 +-- scripts/oe-selftest

[OE-core] [PATCH 2/3] security_flags.inc: Add overrides for glibc-testsuite to match glibc

2019-09-05 Thread Nathan Rossi
Ensure glibc-testsuite has the same flags as glibc. Signed-off-by: Nathan Rossi --- meta/conf/distro/include/security_flags.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 758bd89c3e

[OE-core] [PATCH 1/3] Clean up remnants of glibc-initial

2019-09-05 Thread Nathan Rossi
Remove remnants of the glibc-initial recipe. Signed-off-by: Nathan Rossi --- meta/classes/staging.bbclass| 2 +- meta/conf/distro/include/maintainers.inc| 1 - meta/conf/distro/include/security_flags.inc | 2 -- meta/conf/distro/include/tcmode-default.inc | 4 meta

[OE-core] [PATCH] archiver.bbclass: Do not archive srpm's if there are no package tasks

2019-09-05 Thread Nathan Rossi
Do not attempt to archive recipes which have no packaging tasks (e.g. inherits nopackages). Signed-off-by: Nathan Rossi --- meta/classes/archiver.bbclass | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/meta/classes/archiver.bbclass b/meta/classes

[OE-core] [PATCH 1/7] oeqa/core/runner.py: Fix OETestTag listing

2019-09-07 Thread Nathan Rossi
Use the __oeqa_testtags attribute added by OETestTag and display no, one or more tags separated by a comma. Also change the formatting of the output so that the list of tests is formatted as " ()" and remove the table header for "id" (it is no longer available). Signed-

[OE-core] [PATCH 3/7] oeqa/selftest: Use extraresults on self instead of self.tc

2019-09-07 Thread Nathan Rossi
automatically. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/binutils.py | 13 ++--- meta/lib/oeqa/selftest/cases/gcc.py | 14 +++--- meta/lib/oeqa/selftest/cases/glibc.py| 13 ++--- meta/lib/oeqa/selftest/cases/reproducible.py | 13 + 4

[OE-core] [PATCH 2/7] oeqa/core: Implement proper extra result collection and serialization

2019-09-07 Thread Nathan Rossi
can handle cross-process transfer of binary data for the details kwarg. With a TestResult proxy class to sit inbetween to encode and decode to and from json. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/core/runner.py| 41 +-- meta/lib/oeqa/core/utils/concurrencyte

[OE-core] [PATCH 6/7] oeqa/selftest/cases/gcc.py: Split into classes for parallelism

2019-09-07 Thread Nathan Rossi
u system) tests with "toolchain-system". Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/gcc.py | 99 ++--- 1 file changed, 70 insertions(+), 29 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest

[OE-core] [PATCH 4/7] oeqa/selftest/context.py: Change -t/-T args to be optional

2019-09-07 Thread Nathan Rossi
Change the -t/-T args to be optional so that they can be used together with the existing -r/-a/... args to run a more flexible filtering of test tags. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/context.py | 30 +++--- 1 file changed, 19 insertions(+), 11

[OE-core] [PATCH 5/7] oeqa/core/decorator: Fix super class modifying subclass tags

2019-09-07 Thread Nathan Rossi
Signed-off-by: Nathan Rossi --- meta/lib/oeqa/core/decorator/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/core/decorator/__init__.py b/meta/lib/oeqa/core/decorator/__init__.py index 1a5ac40134..1a82518ab6 100644 --- a/meta/lib/oeqa/core

[OE-core] [PATCH 7/7] oeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/system

2019-09-07 Thread Nathan Rossi
Rework the glibc execution into a common base class. Additionally tag the tests with "toolchain-user" and "toolchain-system". Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/glibc.py | 44 +++ 1 file changed, 24 insertions(+), 2

[OE-core] [PATCH 1/6] resulttool: Handle multiple series containing ptestresults

2019-09-10 Thread Nathan Rossi
Handle multiple results series having ptestresults content. The contents are merged on a per-result basis where duplicates are ignored (with a warning message printed). The 'ptestresults.sections' collection is also merged on a per-suite basis. Signed-off-by: Nathan Rossi --- s

[OE-core] [PATCH 2/6] oeqa/selftest/context.py: For -t/-T use append argparse action

2019-09-10 Thread Nathan Rossi
Use the 'append' action of argparse instead of nargs. This changes the behaviour of the option from "-t foo bar -r" to "-t foo -t bar -r". Additionally rename the long form options to be consistent with behaviour, such that they specifying a single tag at a time

[OE-core] [PATCH 5/6] oeqa/core/case.py: Add OEPTestResultTestCase for ptestresult helpers

2019-09-10 Thread Nathan Rossi
/decompressing log files embedded in the test results. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/core/case.py| 49 +++ scripts/lib/resulttool/log.py | 12 ++- 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/core

[OE-core] [PATCH 6/6] oeqa/selftest: Rework toolchain tests to use OEPTestResultTestCase

2019-09-10 Thread Nathan Rossi
Use OEPTestResultTestCase to collect results and add logfile collection and compression. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/selftest/cases/binutils.py | 11 ++- meta/lib/oeqa/selftest/cases/gcc.py | 8 meta/lib/oeqa/selftest/cases/glibc.py| 7 --- 3

[OE-core] [PATCH 3/6] chrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks

2019-09-10 Thread Nathan Rossi
Add the break_hardlinks kwarg to break hardlinks when modifying files. This uses the bb.utils.break_hardlinks function to break hardlinks. The default is to maintain existing behaviour and leave hardlinks in place. Signed-off-by: Nathan Rossi --- meta/classes/chrpath.bbclass | 19

[OE-core] [PATCH 4/6] gcc-cross.inc: Process binaries in build dir to be relocatable

2019-09-10 Thread Nathan Rossi
Process binaries within the build directory before stashing to be relocatable with ORIGIN relative rpaths. This corrects issues with rpaths being invalid when trying to use the binaries from an unstashed build directory (e.g. gcc-runtime). Signed-off-by: Nathan Rossi --- meta/recipes-devtools

[OE-core] [PATCH v2 1/4] resulttool: Handle multiple series containing ptestresults

2019-09-11 Thread Nathan Rossi
Handle multiple results series having ptestresults content. The contents are merged on a per-result basis where duplicates are ignored (with a warning message printed). The 'ptestresults.sections' collection is also merged on a per-suite basis. Signed-off-by: Nathan Rossi --- s

[OE-core] [PATCH v2 2/4] gcc-cross.inc: Process binaries in build dir to be relocatable

2019-09-11 Thread Nathan Rossi
Process binaries within the build directory before stashing to be relocatable with ORIGIN relative rpaths. This corrects issues with rpaths being invalid when trying to use the binaries from an unstashed build directory (e.g. gcc-runtime). Signed-off-by: Nathan Rossi --- Changes in v2: - Nest

[OE-core] [PATCH v2 3/4] oeqa/core/case.py: Add OEPTestResultTestCase for ptestresult helpers

2019-09-11 Thread Nathan Rossi
/decompressing log files embedded in the test results. Signed-off-by: Nathan Rossi --- Changes in v2: - Fix up resultutils so that it can decode compressed logs - Move common log decoding from log to resultutils module, and simplify uses of log access --- meta/lib/oeqa/core/case.py| 49

[OE-core] [PATCH v2 4/4] oeqa/selftest: Rework toolchain tests to use OEPTestResultTestCase

2019-09-11 Thread Nathan Rossi
Use OEPTestResultTestCase to collect results and add logfile collection and compression. Signed-off-by: Nathan Rossi --- Changes in v2: - Fixed up missing logpath setting for gcc.py. --- meta/lib/oeqa/selftest/cases/binutils.py | 11 ++- meta/lib/oeqa/selftest/cases/gcc.py | 9

[OE-core] [PATCH] glibc-testsuite: SkipRecipe if libc is not glibc

2019-09-13 Thread Nathan Rossi
To prevent issues with parsing or dependencies, limit this recipe to use only when the libc is glibc (and libc-locale is glibc-locale). Signed-off-by: Nathan Rossi --- meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-core

Re: [OE-core] [PATCH] glibc-testsuite: Depend on virtual/libc-locale instead of glibc-locale

2019-09-13 Thread Nathan Rossi
On Thu, 12 Sep 2019 at 02:00, Peter Kjellerstedt wrote: > > This avoids the following error when using some other toolchain than > the one provided by OE-Core: > > ERROR: Nothing PROVIDES 'glibc-locale' (but > .../meta/recipes-core/glibc/glibc-testsuite_2.30.bb DEPENDS on or > otherwise requ

[OE-core] [PATCH] cmake: 3.15.2 -> 3.15.3

2019-09-16 Thread Nathan Rossi
Update to fix issues with Boost 1.71.0, see pull request: https://gitlab.kitware.com/cmake/cmake/merge_requests/3763 Signed-off-by: Nathan Rossi --- .../cmake/{cmake-native_3.15.2.bb => cmake-native_3.15.3.bb} | 0 meta/recipes-devtools/cmake/cmake.

[OE-core] [PATCH] meson.bbclass: Handle microblaze* mapping to cpu family

2019-09-19 Thread Nathan Rossi
Signed-off-by: Nathan Rossi --- meta/classes/meson.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index 48ca112d80..efa6234078 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -55,6 +55,8 @@ def

[OE-core] [PATCH 1/2] oeqa/core/utils/concurrencytest.py: Handle exceptions and details

2019-09-26 Thread Nathan Rossi
e details object and remove the 'err' arg from the add* result call. This encodes the traceback similar to how 'err' is handled without any details object. Decoding is already done by testtools when the traceback is encoded in the details object. Signed-off-by: Nat

[OE-core] [PATCH 2/2] oeqa/core/case.py: Encode binary data of log

2019-09-26 Thread Nathan Rossi
decode the data. Signed-off-by: Nathan Rossi --- meta/lib/oeqa/core/case.py| 4 ++-- scripts/lib/resulttool/resultutils.py | 6 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/core/case.py b/meta/lib/oeqa/core/case.py index 180635ac6c..aae451fef2

Re: [OE-core] [PATCH] cml1: Set proper LD while during kernel menuconfig

2020-11-16 Thread Nathan Rossi
On Mon, 16 Nov 2020 at 19:46, Wonmin Jung wrote: > > With 'ld-is-gold' and linux kernel 5.4 or later, menuconfig > task for kernel recipes will fail with: > > $ bitbake -c menuconfig virtual/kernel > ... > scripts/kconfig/mconf Kconfig > scripts/Kconfig.include:43: gold linker 'x86_64-poky-linux

Re: [OE-core] commit breaks menuconfig on upstream kernel "cml1.bbclass: Handle ncurses-native being available via pkg-config"

2020-12-02 Thread Nathan Rossi
On Thu, 3 Dec 2020 at 05:17, Scott Branden wrote: > > Hi Nathan, > > Your commit: > "cml1.bbclass: Handle ncurses-native being available via pkg-config" > https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next&id=ce447d70df386ca55ce1672478b245851556374e > > breaks bitbake menuconfig

Re: [OE-core] commit breaks menuconfig on upstream kernel "cml1.bbclass: Handle ncurses-native being available via pkg-config"

2020-12-03 Thread Nathan Rossi
On Fri, 4 Dec 2020 at 08:31, Andrey Zhizhikin wrote: > > Hello Scott and Nathan, > > On Thu, Dec 3, 2020 at 7:18 PM Scott Branden via > lists.openembedded.org > wrote: > > > > > > > > On 2020-12-02 4:19 p.m., Nathan Rossi wrote: > > > On Th

Re: [OE-core] commit breaks menuconfig on upstream kernel "cml1.bbclass: Handle ncurses-native being available via pkg-config"

2020-12-03 Thread Nathan Rossi
On Fri, 4 Dec 2020 at 14:58, Richard Purdie wrote: > > On Fri, 2020-12-04 at 10:53 +1000, Nathan Rossi wrote: > > On Fri, 4 Dec 2020 at 08:31, Andrey Zhizhikin > > wrote: > > > Hello Scott and Nathan, > > > > > > On Thu, Dec 3, 2020 at 7:18 PM S

[OE-core] [PATCH] qemu.inc: Add seccomp PACKAGECONFIG option

2020-12-15 Thread Nathan Rossi
) on the build host when building qemu-system-native and auto enabling the feature. Signed-off-by: Nathan Rossi --- meta/recipes-devtools/qemu/qemu.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 274c855d35

[OE-core] [PATCH] ncurses: Prevent LDFLAGS being emitted in .pc files

2020-12-15 Thread Nathan Rossi
installed files (and the associated sstate) have this path. This prevents the sstate from being portable across build directories/hosts. Signed-off-by: Nathan Rossi --- ...ig.in-Do-not-include-LDFLAGS-in-generated.patch | 29 ++ meta/recipes-core/ncurses/ncurses_6.2.bb

[OE-core] [PATCH] gcc: Add patch to resolve i*86 tune configuration overrides

2020-12-15 Thread Nathan Rossi
ntime differently to other build systems, and provides target specific arch/tune options directly. As such, this change adds a patch for gcc to remove the specific cases where the args are added. Signed-off-by: Nathan Rossi --- meta/recipes-devtools/gcc/gcc-10.2.inc | 1 + .../gcc/000

[OE-core] [PATCH] which: add nativesdk to BBCLASSEXTEND

2020-12-15 Thread Nathan Rossi
Signed-off-by: Nathan Rossi --- meta/recipes-extended/which/which_2.21.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/which/which_2.21.bb b/meta/recipes-extended/which/which_2.21.bb index fc9185061b..1da69c548e 100644 --- a/meta/recipes-extended/which/which_2.21

[OE-core] [PATCH] sed: add nativesdk to BBCLASSEXTEND

2020-12-15 Thread Nathan Rossi
Signed-off-by: Nathan Rossi --- meta/recipes-extended/sed/sed_4.8.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/sed/sed_4.8.bb b/meta/recipes-extended/sed/sed_4.8.bb index 39e3a61df5..048db47e14 100644 --- a/meta/recipes-extended/sed/sed_4.8.bb +++ b/meta

[OE-core] [PATCH] grep: add nativesdk to BBCLASSEXTEND

2020-12-15 Thread Nathan Rossi
Signed-off-by: Nathan Rossi --- meta/recipes-extended/grep/grep_3.6.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/grep/grep_3.6.bb b/meta/recipes-extended/grep/grep_3.6.bb index edf9b29c8f..cb009b9132 100644 --- a/meta/recipes-extended/grep/grep_3.6.bb +++ b

[OE-core] [PATCH] coreutils: enable xattrs by default for nativesdk

2020-12-15 Thread Nathan Rossi
When using coreutils nativesdk (e.g. with buildtools-tarball) for running oe-core builds, a number of recipes/classes/etc. expect xattr support. This requirement is also expressed by the existing PACKAGECONFIG_class-native default including xattrs. Signed-off-by: Nathan Rossi --- meta/recipes

Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Nathan Rossi
On Fri, 21 Apr 2023 at 18:41, Petr Kubizňák wrote: > > Add DT_FILES variable to allow the user of the class to select specific > dts files to build. This is useful for packages featuring dts files > for multiple machines. > > Since many machine configs contain a list of dtb files > (e.g. KERNEL_DE

Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Nathan Rossi
From: Petr Kubizňák - 2N > Sent: Friday, April 21, 2023 2:30 PM > To: Nathan Rossi > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts > files to build > > Hi Nathan, > > Thank you for great sugge

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Nathan Rossi
On Thu, 7 Nov 2019 at 09:34, Adrian Bunk wrote: > > On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: > >... > > +TUNE_CCARGS_riscv64 .= "${@bb.utils.contains('TUNE_FEATURES', 'riscv64-f', > > ' -mabi=lp64d', ' -mabi=lp64', d)}" > > +TUNE_CCARGS_riscv32 .= "${@bb.utils.contains('T

  1   2   3   4   >