146 Commits

Author SHA1 Message Date
Wang Mingyu
bed9028cc4 evtest: upgrade 1.35 -> 1.36
0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
refreshed for 1.36

Changelog:
===============
- Add KEY_ROTATE_LOCK_TOGGLE, KEY_REFRESH_RATE_TOGGLE
- Add performance key
- Add ifdef
- Use bytes instead of bits for size of ioctl input
- CI: add workflow rules
- evtest 1.36
- Add SW_MACHINE_COVER
- add KEY_MACRO 1-30 and other keys

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3682b77d4d7430e3542b57b3d0fb0a6318afe8bf)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2025-11-17 10:15:06 +05:30
Gyorgy Sarvari
693a7500ba
pm-qa: update git fetch protocol
Apparently the git repo in the SRC_URI stopped supporting git
protocol. Switch to https to be able to fetch the source successfully.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-10-30 14:43:30 +08:00
alperak
fdfd510992
remove obsolete PIP_INSTALL_PACKAGE and PIP_INSTALL_DIST_PATH
All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-09 10:55:23 -08:00
Joe Slater
a30f1158d9
googletest: allow for shared libraries
Change the -dev RDEPENDS because -staticdev is not created
if shared libraries are built.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:27 -08:00
Mingli Yu
be06d51d61
googletest: Pass -fPIC to CFLAGS
Fail to build re2 which depends on googletest as below:
/build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/13.2.0/ld: /build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot/usr/lib64/libgtest.a(gtest-all.cc.o): warning: relocation against `_ZTVN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE' in read-only section `.text._ZN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED0Ev[_ZN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED5Ev]'
/build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/13.2.0/ld: /build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot/usr/lib64/libgtest.a(gtest-all.cc.o): relocation R_X86_64_PC32 against symbol `_ZTVN7testing8internal17TestEventRepeaterE' can not be used when making a shared object; recompile with -fPIC
/build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/13.2.0/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

So pass -fPIC to fix the above issue.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:25 -08:00
Wang Mingyu
6bf3bc30c5
bats: upgrade 1.10.0 -> 1.11.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:20 -08:00
Joe Slater
db58edbed8
googletest: allow for shared libraries
Add a PACKAGECONFIG option to produce shared libraries.
Allow staticdev to be empty if no static libraries
are built.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-04 17:10:56 -08:00
Khem Raj
2562addd10
syzkaller: Fix build with go 1.21
- export GOPROXY
- Fix clang-18 found errors by not forcing C++ compiler for CC
  but just passing c++ std library to link with

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-03 11:25:30 -08:00
Martin Jansa
21f956598d
recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Wang Mingyu
f0512636fd
cmocka: Fix install conflict when enable multilib.
Error: Transaction test error:
  file /usr/share/cmocka/example/mock/libproc_uptime.so conflicts between attempted installs of lib32-libcmocka-examples-1.1.7+git0+a01cc69ee9-r0.armv7ahf_neon and libcmocka-examples-1.1.7+git0+a01cc69ee9-r0.cortexa57

Change install directory from share to lib to resolve conflict.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-01 08:17:38 -08:00
alperak
1bdab916b1 catch2: upgrade 2.13.7 -> 2.13.10
v2.13.10:
    Fixes:

        -Fixed issue with catch_discover_tests when there is multiple of 256 tests (#2401, #2503)
        -Catch2-provided main and wmain are explicitly marked as __cdecl when compiled with MSVC (#2486, #2487)
        -Improved break-into-debugger behaviour for ARM Macs. It should now be possible to step execution after the break (#2422)
        -Replaced deprecated std::aligned_storage (#2419, #2420)

v2.13.9:
    Fixes:

        -Fixed issue with -# (filename-as-tag) flag when __FILE__ expands into filename without directories (#2328, #2393)
        -Fixed CAPTURE macro not being variadic when disabled through CATCH_CONFIG_DISABLE (#2316, #2378)

v2.13.8:
    Fixes:

        -Made Approx::operator() const (#2288)
        -Improved pkg-config files (#2284)
        -Fixed warning suppression leaking out of Catch2 when compiled with clang.exe (#2280)
        -The macro-generated names for things like TEST_CASE no longer create reserved identifiers (#2336)

    Improvements:

        -Clang-tidy should no longer warn about missing virtual dispatch in FilterGenerator's constructor (#2314)

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-11 15:41:43 -08:00
Markus Fuchs
7bd2cd290c remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Markus Fuchs <mklntf@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-08 22:51:28 -08:00
Bartosz Golaszewski
7e1bcd83fa shunit2: new recipe
Add a recipe for shunit2 - a testing framework for command-line tools
and shell scripts.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-03 15:07:16 -07:00
Philip-Dylan Gleonec
cb8908b91e cukinia: Fix license field
The recipe currently indicates that the cukinia package is licensed
under both GPLv3 AND Apache 2.0 licenses, but the upstream specifies
using it under GPLv3 OR Apache 2.0 license, is user's choice.

Signed-off-by: Philip-Dylan Gleonec <philip-dylan.gleonec@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-04 13:09:38 -07:00
Martin Jansa
1db563c310 cukinia: drop allarch
* it rdepends on TUNE_PKGARCH libgpiod-tools so it cannot be allarch
  (or cukinia->libgpiod-tools needs to be added to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS)

  bitbake-diffsigs \
    sstate-before/mako/all-webos-linux/cukinia/0.6.2.do_package_write_ipk.sigdata.630262028cb276fdac170d30a265aa72d4249f84a264e11ea676a5ab38f1cacc \
    sstate-before/qemux86-64/all-webos-linux/cukinia/0.6.2.do_package_write_ipk.sigdata.5d193e43c71f1270d36075be6124bb70585bb682771cff644349c4a7ffd13605
  Hash for task dependency libgpiod:do_packagedata changed from d3dffb55884b89470065c3eaf046563e2f306706400be396b022a470ceca1916 to 76e47aed399fdbd14db3c4b75ef2b83298322429f111175d4ca4f3f4c67eebf0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 22:15:39 -07:00
Martin Jansa
5c5994a3d5 libfaketime: simplify packaging
* avoid dev-so QA issue

* avoid separate package for the library, because the current "lib${PN}"
  has a bit ridiculous name in mulilib builds:
  lib32-liblib32-libfaketime

* fixes:
  ERROR: lib32-libfaketime-0.9.10-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblib32-libfaketime contains symlink .so '/usr/lib32/faketime/libfaketime.so' [dev-so]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Khem Raj
298c1ffa28 libfaketime: Eanable LFS64 on musl
Musl has 64bit time_t inherently, ideally this library should be fixed
for that but lets apply the musl aliasing solution for now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 20:53:02 -07:00
Khem Raj
8b40d7c92f libfaketime: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00
Tymoteusz Burak
50b820e18e libfaketime: add recipe
This commit adds the libfaketime library recipe, which provides time
manipulation capabilities for testing and debugging purposes. libfaketime allows
developers to modify the system time reported to applications, aiding in scenarios
where accurate time emulation is required.

I deleted the extra flags altogether as they seem to be only necessary
for old versions of this project (0.9.6).

CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00
Wang Mingyu
bdeb3ecf73 googletest: upgrade 1.13.0 -> 1.14.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-15 20:07:54 -07:00
Michael Opdenacker
6b2b98e52d remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-03 09:14:20 -07:00
Wang Mingyu
1972581f18 bats: upgrade 1.9.0 -> 1.10.0
Changelog:
===========
Added:
-----------
 add ${BATS_TEST_TAGS[@]} for querying the tags during a test (#705)
 print tags on failing tests (#705)
 test for negative arguments to --jobs (#693)
 add tests for --formatter cat (#710)
 test coverage in CI (#718)
 Support for rush as alternative to GNU parallel (#729)
 add bats_pipe helper function for run that executes \| as pipes (#663)
 publish docker images to ghcr.io (additionally to Dockerhub) (#740)

Fixed:
---------
 fix run with options overwriting the value of i (#726, #727)
 fix ${BATS_TEST_NAMES[@]} containing only --tags instead of test name since Bats v1.8.0 (#705)
 fix run --keep-empty-lines counting trailing \n as (empty) new line (#711)
 fix short flag unpacker creating bogus command lines with valued flags (#732)
 fix formatter becoming confused with retries (#734)
 fix --gather-test-outputs-in fails on tests with / (#735)
 fix overriding date breaks --timing (#736)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-20 19:08:57 -07:00
Marek Vasut
c50ef4e5f3 linux-serial-test: Update to latest git revision
Update the recipe to latest git revision to pull in latest fixes.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-08 07:50:26 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj
63b1dbd093 syzkaller: Upgrade to latest tip of trunk
- Enable cgo with this version
- Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-19 18:41:18 -07:00
Khem Raj
b802655e13 fwts: Fix build issues found with lld linker
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-12 11:43:30 -07:00
Enguerrand de Ribaucourt
deaa4c111f cukinia: add libgpiod-tools to RRECOMMENDS
The cukinia statement `cukinia_gpio_libgpiod` requires the `gpioinfo`
command. Alternatively, the deprecated sysfs GPIO API can be used with
`cukinia_gpio_sysfs`.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 09:37:46 -07:00
Enguerrand de Ribaucourt
97c9e5c38d cukinia: inherit allarch
The recipe installs a shell script which does not depend on the
architecture. Inheriting allarch will make sure that the recipe is
built only once accross different architectures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 09:37:46 -07:00
Enguerrand de Ribaucourt
daf73e7279 cukinia: upgrade 0.6.1 -> 0.6.2
Changes:
    cukinia: add /proc/cmdline parameter check
    cukinia: add test suite and class to csv
    cukinia: add kernel config check in boot partition
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 09:37:46 -07:00
Enguerrand de Ribaucourt
47e2b5fb0f cukinia: remove trailing whitespaces
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 09:37:46 -07:00
Joe Slater
1cc72c41af bats: use baselib
Use sed to change scripts to reference ${baselib}.  The
former set of scripts modified was incomplete.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-18 11:33:02 -07:00
Wang Mingyu
46266e59ff googletest: upgrade 1.12.1 -> 1.13.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-23 21:46:12 -07:00
Khem Raj
05f0920798 cmocka: Check for previous declaration of uintptr_t
Fix build with musl/aarch64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-22 09:12:40 -07:00
Randy MacLeod
c9136de654 cmocka: update from 1.1.5+ to 1.1.7
Switch the SRC_URI branch from master to stable-1.1

The 1.1.5 version was actually a bit ahead of that tag but
the ChangeLog comment for the two releases are:

Thu Feb 23 2023 Andreas Schneider <asn@cryptomilk.org>
    * cmocka version 1.1.7
    * Update ignore list for source tarball generation

Fri Feb 16 2023 Andreas Schneider <asn@cryptomilk.org>
    * cmocka version 1.1.6
    * Added new assert macros to compare 2 double given an epsilon
    * Added meson build system
    * Added header with version to TAP13 output
    * Fixed issues with MSVC
    * Fixed TAP output for skipped tests
    * Fixed issue with fail_msg
    * CMake generated configs for find_package(cmocka)
    * Documentation improvements

CMake still seems to be the default build tool based on Install.md
so use that rather than the shiny Meson system.

One test, test_cmockery, was added so now there are 23 passing ptests.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-22 09:12:40 -07:00
Wang Mingyu
5f2c3b32dd cukinia: upgrade 0.6.0 -> 0.6.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04 10:41:27 -08:00
Wang Mingyu
d13bea0481 bats: upgrade 1.8.2 -> 1.9.0
Added:
=======
-add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE (#659)
-add --line-reference-format to switch file/line references in stack traces (#665)
 comma_line (default): file.bats, line 1
 colon: file.bats:1
 uri: file:///path/to/file.bats:1
 custom: define your own formatter in bats_format_file_line_reference_custom
-add bats:focus tag to run only focused tests (#679)
-add bats-support, bats-assert, bats-file and bats-detik to Dockerfile (#674)

Documentation:
==============
-add --help text and man page content for --filter-tags (#679)
-improved clarity of section about output in free code (#671)
-fixed typos (#673)
-clarify use cases of run (#366)

Fixed:
=======
-explicitly check for GNU parallel (#691)
-wait for report-formatter to finish before ending bats' execution,
 to fix empty files with --report-fomatter junit under Docker (#692)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04 10:41:27 -08:00
Jan Luebbe
55740758c3 linux-serial-test: add recipe
This is a collection of tests for serial ports and their drivers.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-15 08:23:49 -08:00
Khem Raj
6a9ed97fe1 fwts: Upgrade to 22.11.00
Forward port 0003-Remove-Werror-from-build.patch
Add a patch to fix parallel build race condition

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-03 08:11:30 -08:00
Peter Marko
8c0402f7c4 cpputest: add possibility to build extensions
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-28 10:05:38 -07:00
Peter Marko
8210e5904c cpputest: remove dev package dependency
The main package is empty so it was not possible to install
  dev package to sdk as it depends on main package.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-28 10:05:38 -07:00
Wang Mingyu
8dd9faa5c6 bats: upgrade 1.8.0 -> 1.8.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-24 09:56:33 -07:00
Ovidiu Panait
cfac82c560 syzkaller: add recipe and selftest for syzkaller fuzzing
Syzkaller is a coverage-guided fuzzer that is widely used to find bugs in
the Linux kernel:
https://github.com/google/syzkaller

Add the recipe and a selftest for running the fuzzer in a qemux86-64
kvm environment. The following steps can be used to start the test:
"""
cat >> conf/local.conf <<EOF
SYZ_WORKDIR="<path>"
SYZ_FUZZTIME="30"
SYZ_QEMU_VM_COUNT="2"
SYZ_QEMU_MEM="2048"
SYZ_QEMU_CPUS="2"
EOF

oe-selftest -r syzkaller
...
loading corpus...
serving http on http://127.0.0.1:49605
serving rpc on tcp://[::]:46475
booting test machines...
wait for the connection from test machine...
vm-0: crash: KCSAN: data-race in poll_schedule_timeout.constprop.NUM / pollwake
vm-1: crash: KCSAN: data-race in mutex_spin_on_owner
machine check:
syscalls                : 2227/4223
code coverage           : enabled
comparison tracing      : enabled
extra coverage          : enabled
delay kcov mmap         : mmap returned an invalid pointer
setuid sandbox          : enabled
namespace sandbox       : enabled
Android sandbox         : /sys/fs/selinux/policy does not exist
fault injection         : enabled
leak checking           : enabled
net packet injection    : enabled
net device setup        : enabled
concurrency sanitizer   : enabled
devlink PCI setup       : PCI device 0000:00:10.0 is not available
USB emulation           : enabled
hci packet injection    : enabled
wifi device emulation   : enabled
802.15.4 emulation      : enabled
corpus                  : 0 (deleted 0 broken)
seeds                   : 0/0
VMs 2, executed 1, cover 0, signal 0/0, crashes 2, repro 0
vm-1: crash: KCSAN: data-race in mutex_spin_on_owner
"""

This will fuzz the yocto kernel for 30 minutes using 2 qemu VMs, each VM
getting 2048MB of memory and 2 CPUs.

The path in SYZ_WORKDIR must be an absolute path that is persistent across
oe-selftest runs, so that fuzzing does not start all over again on each
invocation. Syzkaller will save the corpus database in that directory and will
use the database to keep track of the interfaces already fuzzed.

After the test is done, <workdir>/crashes directory will contain the report
files for all the bugs found.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-21 09:57:59 -07:00
wangmy
6f7de16466 bats: upgrade 1.7.0 -> 1.8.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-20 18:55:26 -07:00
Khem Raj
284f38a12b gnome-keyring,cunit,xfce4-panel: Do not inherit remove-libtool class here
Its in global namespace and already inherited

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
wangmy
0720560740 bats: upgrade 1.6.1 -> 1.7.0
Changelog:https://github.com/bats-core/bats-core/releases/tag/v1.7.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 10:26:37 -04:00
wangmy
c68cead291 googletest: upgrade 1.12.0 -> 1.12.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 00:08:14 -04:00
wangmy
05cf0fdf46 googletest: upgrade 1.11.0 -> 1.12.0
Changelog:
==========
C++ Language Support
----------------------
    This will be the last release to support C++11. Future releases will require at least C++14.

Mocking
---------
    Support for move-only values to Return (5126f71)

Matchers
--------------
    New matchers
        WhenBase64Unescaped (652ec31)
    ResultOf() now has a 3-arg overload that takes a description string for better error messages (0e40217)

Build & Test
----------------
    CMake minimum increased to 3.5
    Bazel users that build GoogleTest using the Abseil library as a dependency now also require a dependency on RE2 (e33c2b2)
    Bazel users that build GoogleTest using the Abseil library now use the Abseil library to parse all command-line flags (25dcdc7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-02 11:37:02 -04:00
Wang Mingyu
6d9f82e5ab evtest: upgrade 1.34 -> 1.35
0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
refreshed for new version.

add_missing_limits_h_include.patch
removed since it's included in 1.35.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-24 08:39:45 -07:00
Diego Sueiro
72fbb8379f bats: upgrade 1.6.0 -> 1.6.1
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>
2022-05-16 09:09:47 -07:00
Richard Neill
408866fe80 bats: Add patch to fix false-negatives caused by teardown code
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: Khem Raj <raj.khem@gmail.com>
2022-05-09 13:03:09 -07:00