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
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
From: Nathan Rossi
Newer versions of binutils (2.38+) have changed how the
"--only-keep-debug" of objcopy behaves when stripping non-debug sections
from an ELF.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=68f543154e92ab0f5d6c569e0fa143f5e8bd2d80
This change causes
From: Nathan Rossi
The glibc-locale recipe already partially depends on the base depends in
order to satisfy the do_package dependency on binutils. However since
commit d6ffd683bf6 NM has defaulted to gcc-nm, meaning do_package
depends on gcc (for minidebuginfo).
Whilst the do_package task
From: Nathan Rossi
Add a new selftest to validate minidebuginfo support. This selftest
builds a complete target image with PACKAGE_MINIDEBUGINFO enabled. ELFs
included in the image are expected to have minidebuginfo included in the
resulting executables and shared libraries, the self test
From: Nathan Rossi
Config written to the emptytest include file is invalid after the test
has cleaned up its temporary directories resulting in the emptytest
recipe potentially having invalid content when parsed by successive
bitbake runs.
This presents the following error in tests after
_subdir: ERROR
> 2022-11-06 00:37:54,100 - oe-selftest - INFO - RESULTS -
> recipetool.RecipetoolAppendTests.test_recipetool_appendfile_todir: ERROR
> 2022-11-06 00:37:54,100 - oe-selftest - INFO - RESULTS -
> recipetool.RecipetoolAppendTests.test_recipetool_appendfile_wildcard: ERROR
>
&
From: Nathan Rossi
Config written to the emptytest include file is invalid after the test
has cleaned up its temporary directories resulting in the emptytest
recipe potentially having invalid content when parsed by successive
bitbake runs.
This presents the following error in tests after
From: Nathan Rossi
Newer versions of binutils (2.38+) have changed how the
"--only-keep-debug" of objcopy behaves when stripping non-debug sections
from an ELF.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=68f543154e92ab0f5d6c569e0fa143f5e8bd2d80
This change causes
From: Nathan Rossi
The glibc-locale recipe already partially depends on the base depends in
order to satisfy the do_package dependency on binutils. However since
commit d6ffd683bf6 NM has defaulted to gcc-nm, meaning do_package
depends on gcc (for minidebuginfo).
Whilst the do_package task
From: Nathan Rossi
Add a new selftest to validate minidebuginfo support. This selftest
builds a complete target image with PACKAGE_MINIDEBUGINFO enabled. ELFs
included in the image are expected to have minidebuginfo included in the
resulting executables and shared libraries, the self test
> > > > things.
> > > > >
> > > > > Technically, I just reuse the glibc-testsuite_2.34.bb to the
> > > > > point where tests are _only_ built. Then I pack those binaries
> > > > > and install on the target's rootfs t
cially when
implementing a new platform. A big one is due to the ability to run
tests in parallel with user mode, it easily reduces test run times by
an order of magnitude (compared to qemu system, which for some
platforms is faster than real hardware).
The reason why qemu user mode is the default behavio
Upstream has merged a change to handle detection of target overrides so
that they are only applied as required. Backport this patch from
upstream and remove the OE specific patch.
Signed-off-by: Nathan Rossi
---
meta/recipes-devtools/gcc/gcc-10.2.inc | 2 +-
.../gcc/0001-lib
t the above change backported to replace the oe specific patch?
Since that oe specific patch has already been backported to a number
of releases.
Thanks,
Nathan
>
> On Tue, Dec 15, 2020 at 12:35 AM Nathan Rossi wrote:
> >
> > When compiling gcc-runtime for i686 libatomic, libg
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
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
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
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
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
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
) 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
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
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
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
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
pes, pydoc)
- Update compression package dependencies due to some modules moving
into core package
- Update dependencies due to improvements to get_module_deps handling
modules of a python package (e.g. ctypes.utils)
Signed-off-by: Nathan Rossi
---
.../python/python3/python3-manifest
. Handle the conversion of its path to a
wildcard based on the platform dependent name being replaced.
Signed-off-by: Nathan Rossi
---
Changes in v2:
- Remove duplicate importlib.import_module()
- Only treat imports which are "__init__.py" files as python packages
for which to im
associated C/CXX
compiler variables. In order to achieve this with overrides, simplify
the existing construction of the values using a python function and
variable setting and remove the anonymous variable setup.
Signed-off-by: Nathan Rossi
---
meta/classes/cmake.bbclass | 36
. Handle the conversion of its path to a
wildcard based on the platform dependent name being replaced.
Signed-off-by: Nathan Rossi
---
.../python/python3/get_module_deps3.py | 18 --
.../python/python3/python3-manifest.json | 2 +-
2 files changed
Signed-off-by: Nathan Rossi
---
meta/recipes-support/libexif/libexif_0.6.22.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-support/libexif/libexif_0.6.22.bb
b/meta/recipes-support/libexif/libexif_0.6.22.bb
index a520d5c9f9..2478ba07d8 100644
--- a/meta/recipes-support
This recipe is intended to be run manually or via oeqa.
[YOCTO #13737]
Signed-off-by: Nathan Rossi
---
meta/recipes-core/glibc/glibc-testsuite_2.31.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.31.bb
b/meta/recipes-core/glibc/glibc
This task is not intended to be run as this recipe does not produce any
packages or install any sysroot content. Additionally running this task
behaves differently from a normal glibc build, and can result in issues.
[YOCTO #13737]
Signed-off-by: Nathan Rossi
---
meta/recipes-core/glibc/glibc
On Wed, 5 Feb 2020 at 07:06, Mark Hatle wrote:
>
> Version 4 of the patch set.
>
> I've collected all of the patches resently sent, and reworked them per
> the comments on the mailing list.
>
> The patches are directly available at:
>
> git://git.openembedded.org/openembedded-core-contrib mgh/xili
On Tue, 4 Feb 2020 at 04:55, Mark Hatle wrote:
>
>
>
> On 1/31/20 10:49 PM, Nathan Rossi wrote:
> > On Sat, 1 Feb 2020 at 08:13, Mark Hatle
> > wrote:
> >>
> >> From: Mark Hatle
> >>
> >> TUNE_ARCH - microblazeeb is not a v
On Tue, 4 Feb 2020 at 04:36, Mark Hatle wrote:
>
>
>
> On 1/31/20 10:50 PM, Nathan Rossi wrote:
> > On Sat, 1 Feb 2020 at 09:33, Mark Hatle
> > wrote:
> >>
> >> From: Mark Hatle
> >>
> >> 64-bit is not yet available in Linux, but so
On Sat, 1 Feb 2020 at 09:33, Mark Hatle wrote:
>
> From: Mark Hatle
>
> 64-bit is not yet available in Linux, but some non-Linux uses exist.
>
> Signed-off-by: Mark Hatle
> Signed-off-by: Mark Hatle
> ---
> meta/conf/machine/include/microblaze/arch-microblaze.inc | 9 -
> 1 file change
On Sat, 1 Feb 2020 at 08:13, Mark Hatle wrote:
>
> From: Mark Hatle
>
> TUNE_ARCH - microblazeeb is not a valid architecture, microblaze is big
> endian, microblazeel is the little endian version.
>
> Version arguments:
> If a version feature is not defined, then we don't want to se
em
targets).
Signed-off-by: Nathan Rossi
---
meta/recipes-core/glibc/glibc-testing.inc | 95 ---
meta/recipes-core/glibc/glibc.inc | 1 -
2 files changed, 96 deletions(-)
delete mode 100644 meta/recipes-core/glibc/glibc-testing.inc
diff --git a/meta/recipes-core/g
Prevent the gcc embedded checksum from containing a checksum that was
computed with build specific paths. The checksum-options file included
the value of LINKER/LDFLAGS which contains DEBUG_PREFIX_MAP and
STAGING_DIR_TARGET.
Signed-off-by: Nathan Rossi
---
This change along with the previous gcc
qemu-user/qemu-system targets).
Signed-off-by: Nathan Rossi
---
meta/recipes-devtools/gcc/gcc-cross.inc | 90 -
1 file changed, 90 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc
b/meta/recipes-devtools/gcc/gcc-cross.inc
index 6784d9673f..c68cdd5
sroots and staging, the sysroot path would be replaced with the
sysroot local to the recipe thus changing the content of configargs.h.
This change also improves gcc binary reproducibility. The sysroot path
is replaced with the base target root "/".
Signed-off-by: Nathan Rossi
---
meta/
per recipe sysroots and staging, the sysroot path would be replaced with
the sysroot local to the recipe thus changing the content of
configargs.h.
The sysroot path is replaced with a generic "/host" prefix which
represents the host sysroot (e.g. native or nativesdk).
Signed-off-by: Nat
Split the GccCrossSelfTest testcase into separate testcases for 'gcc'
and 'g++' respectively. In order to split them use the "check-gcc-*"
language make check targets.
Signed-off-by: Nathan Rossi
---
meta/lib/oeqa/selftest/cases/gcc.py | 20
the output is mixed but enables the machine to
boot and have QemuRunner detect the login prompt.
QemuTarget uses SERIAL_CONSOLES to determine the number of available
serial ports.
Signed-off-by: Nathan Rossi
---
meta/lib/oeqa/targetcontrol.py| 3 ++-
meta/lib/oeqa/utils/qemurunner.py | 32
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
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
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
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
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.
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
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
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
/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
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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
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
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
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_
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
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
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__.
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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/
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
1 - 100 of 327 matches
Mail list logo