The 1.6.1 incorporates the
0001-Fix-status-in-teardown-overriding-exit-code.patch backport patch.
Changelog:
==========
Fixed:
------
prevent teardown, teardown_file, and teardown_suite from overriding bats'
exit code by setting $status (e.g. via calling run) (#581, #575)
CRITICAL: this can return exit code 0 despite failed tests, thus preventing
your CI from reporting test failures! The regression happened in version 1.6.0.
Documentation:
--------------
corrected invalid documentation of run -N (had =N instead) (#579)
CRITICAL: using the incorrect form can lead to silent errors. See issue #578
for more details and how to find out if your tests are affected.
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 72fbb8379fc47ec77cdcb1c15e992d99d205ced2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
BATS v1.6.0 has a regression which can result in test case failures being
ignored when teardown code executes successfully. This patch applies the
accepted bug-fix until the next BATS release.
Also, fix a comment that wasn't updated during the BATS upgrade, to match the
correct release (v1.6.0) associated with the SRCREV.
Signed-off-by: Richard Neill <richard.neill@arm.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The upstream repo location has changed, it's now
https://git.enlightenment.org/old/legacy-imlib2
It's not clear when or why it happened, but the the commit hash we use
in SRCREV exists in the 'new' location, so let's at least update the
SRC_URI for now, and fix this warning:
WARNING: imlib2-1.7.1-r0 do_fetch: Failed to fetch URL git://git.enlightenment.org/legacy/imlib2.git;protocol=https;branch=master, attempting MIRRORS if available
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 62becef1091d21f487e826df7be7dcef3ab8f94c)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Instead of hardcoding 4K page size, query the system and use the value for
memory mapping.
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3af1d119de53a92f4d0fbfb8a61f999d1d541253)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Some build server may provide sendmail like /usr/lib/sendmail which
may result the VAL_MTA to be /usr/lib/sendmail during do_configure,
but the sendmail is actually /usr/sbin/sendmail on the target.
Fixes:
# echo "invalide address email" | s-nail -s "test mail" -r test@test.comtester@test.com
s-nail: Cannot start /usr/lib/sendmail: executable not found (adjust *mta* variable)
/home/root/dead.letter 10/234
s-nail: ... message not sent
# which sendmail
/usr/sbin/sendmail
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f334a009472136b266c4f72612b549846df20c0e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
rateconv.c looks like BSD-2 but it has second clause modified
significantly, therefore be specific about it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit d901de434d2fee62e2a37c4150108921b2dd13e5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The error is not observed with glibc latest clang 14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f3d8e41b9d9b6fa6df92178f379d18f7e7a6478a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
add only when various DISTRO_FEATURES are enabled
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 73d50d2b4b61b44266e03722db295d0da7866d2d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The install target is checking for install paths on build host assuming
thats where it will run too, which breaks cross builds. Add a patch to
aide the install from recipe.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bbc6fa72c378c792bdae35cae9b6ff165ee196c9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
7c6608d0db
The internal sync are tested within Google and ready for use.
Signed-off-by: Willy Tu <wltu@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3c1c07e9a5477df68bfa1f739b38f10a5e78b07e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
These files are not needed when init system is not systemd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f0d0034e26934852a8d92176f87b4dfc4c7c2438)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Remove related man pages gz logic as it's removed in new version [1].
[1] 2169de66ec
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f2748082e84b70c0a73d7d494b0f02338fedded1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Changelog for released lsscsi-0.32 [20210505] [svn: r167]
- improve NVMe device parsing (e.g. /dev/nvme0c1n2)
- print nr_hw_queues when available for SCSI hosts
- Remove blank line after NVMe device name with -HL
- collect_disk_wwn_nodes: Fix WWN string copy
- make WWN printing for NVMe more consistent with
output from SCSI devices (e.g. with -u and -t)
- logic to select best SCSI id (--scsi_id) to output
- clean up warnings for gcc-10
- build with autoconf 2.70
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4812d74accbfeeadb87a303e8fd1fc1eba8e2193)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
april 2022
- 1.6
- configure script must error-out when (n)curses isn't found
- Move SIGWINCH handling from handler to NCURSES
- Make configure.ac compliant with autoconf >= 2.70
- Check that malloc did not return NULL
- Fix a possible memory leak in findFile()
- Prevent division by zero on empty files.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c4d4e192f48e98a0386980baa415218cb496048f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
It does not fail anymore as the qemu options has been sorted
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1fa927eba97561d00e3a249c41356a482d68b402)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
in case usrmerge is enabled, unit file is already in expected location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b8e97f5b2a11c0d4be9f61821aead402780a4be7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This helps compile gjs, external icu is needed with gcc-12 but not with
clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 78180b6c21638b41a5bab9ed706211304d5f2552)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This takes care of rootdir being different when using usrmerge
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8cec1f1fd9ea585039d985943f3f20b37aff9a3b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
default SBINDIR is hardcoded to /sbin which does not work when using
usrmerge
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8c7ffffa07d3c5bb8156a90f4f37dc0cc3166153)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The patch to remove these options is removed therefore instrument them
via sed operations
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mingli Yu <mingli.yu@windriver.com>
(cherry picked from commit 224d8a8cbeef0c5ccdf03e9f6660203af7abead6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The bundled gdb upgraded to 10.2 [1] and remove related patches
against the previous gdb 7.6.
[1] ec568e2ea5
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c7ce2371c021d713f5328a0a50b23a21f2e4792b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The gps-utils-python package was introduced in commit 66721940 (gpsd:
split python utils from gps-utils), except it was never added to
PACKAGES, which resulted in the following error if anything depends on
gpsd:
ERROR: Nothing RPROVIDES 'gps-utils-python' (but .../gpsd_3.23.1.bb
RDEPENDS on or otherwise requires it)
Also remove a no longer relevant comment.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
since sdbus-c++-libsystemd outputs only static libraries, it will
not be installed inside the SDK.
add RDEPENDS:${PN}-dev = "" to remove the dependency to the empty package
when installing the sdbus-c++-libsystemd-dev into the SDK
without this change the SDK is missing sdbus-c++-dev and sdbus-c++-libsystemd-dev
Signed-off-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ARM needs to use system icu, otherwise build fails with gcc-12
firefox-91.8.0/intl/icu/source/common/stringtriebuilder.cpp:388: more undefined references to `std::type_info::operator==(std::type_info const&) const' follow
| collect2: error: ld returned 1 exit status
Keep using vendored ICU on mips since this breaks build for gjs
introspection code which is run under qemu-user
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Neither gpsd nor significant part of gps-utils depend on python. However
installing gps-utils package would require installing python, which adds
about 17 MB to the image size. Split away gps-utils-python to allow
using gpsd/gps-utils in the systems with limited resources (or in the
initramfs).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Disable RUN_GPERF_IF_PRESENT. Otherwise cmake will look for gperf. For
target, it will not find it and proceeds to use the pregenerated
files. However, for native it finds `/usr/bin/gperf`, but then tries
to run `gperf` instead, which fails since it is not in hosttools.
* Disable ENABLE_CPP for native. Otherwise it needs iconv, which it
cannot find.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>