summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-test
Commit message (Collapse)AuthorAgeFilesLines
* remove obsolete PIP_INSTALL_PACKAGE and PIP_INSTALL_DIST_PATHalperak2024-03-091-2/+0
| | | | | | | 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>
* googletest: allow for shared librariesJoe Slater2024-03-081-2/+4
| | | | | | | | 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>
* googletest: Pass -fPIC to CFLAGSMingli Yu2024-03-081-0/+1
| | | | | | | | | | | | | 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>
* bats: upgrade 1.10.0 -> 1.11.0Wang Mingyu2024-03-081-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: allow for shared librariesJoe Slater2024-03-041-1/+7
| | | | | | | | | 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>
* syzkaller: Fix build with go 1.21Khem Raj2024-03-031-2/+10
| | | | | | | | - 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>
* recipes: drop ${SRCPV} usageMartin Jansa2024-02-092-2/+2
| | | | | | | | | | * 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>
* cmocka: Fix install conflict when enable multilib.Wang Mingyu2024-02-011-11/+10
| | | | | | | | | | 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>
* catch2: upgrade 2.13.7 -> 2.13.10alperak2023-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* remove unused AUTHOR variableMarkus Fuchs2023-11-081-1/+0
| | | | | | | | | 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>
* shunit2: new recipeBartosz Golaszewski2023-11-031-0/+14
| | | | | | | | 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>
* cukinia: Fix license fieldPhilip-Dylan Gleonec2023-10-041-1/+1
| | | | | | | | | 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>
* cukinia: drop allarchMartin Jansa2023-09-201-2/+0
| | | | | | | | | | | | | * 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>
* libfaketime: simplify packagingMartin Jansa2023-08-301-7/+2
| | | | | | | | | | | | | | * 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>
* libfaketime: Eanable LFS64 on muslKhem Raj2023-08-261-0/+2
| | | | | | | 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>
* libfaketime: Fix build with clangKhem Raj2023-08-262-3/+49
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libfaketime: add recipeTymoteusz Burak2023-08-261-0/+30
| | | | | | | | | | | | | | 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>
* googletest: upgrade 1.13.0 -> 1.14.0Wang Mingyu2023-08-151-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove unused AUTHOR variableMichael Opdenacker2023-08-033-3/+0
| | | | | | | | | 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>
* bats: upgrade 1.9.0 -> 1.10.0Wang Mingyu2023-07-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-serial-test: Update to latest git revisionMarek Vasut2023-07-081-1/+1
| | | | | | | 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>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-214-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* syzkaller: Upgrade to latest tip of trunkKhem Raj2023-06-193-11/+44
| | | | | | | - Enable cgo with this version - Fix build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: Fix build issues found with lld linkerKhem Raj2023-06-122-0/+44
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cukinia: add libgpiod-tools to RRECOMMENDSEnguerrand de Ribaucourt2023-06-081-0/+2
| | | | | | | | 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>
* cukinia: inherit allarchEnguerrand de Ribaucourt2023-06-081-0/+2
| | | | | | | | 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>
* cukinia: upgrade 0.6.1 -> 0.6.2Enguerrand de Ribaucourt2023-06-081-1/+1
| | | | | | | | 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>
* cukinia: remove trailing whitespacesEnguerrand de Ribaucourt2023-06-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: use baselibJoe Slater2023-05-181-3/+5
| | | | | | | | 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>
* googletest: upgrade 1.12.1 -> 1.13.0Wang Mingyu2023-03-231-4/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmocka: Check for previous declaration of uintptr_tKhem Raj2023-03-222-0/+44
| | | | | | Fix build with musl/aarch64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmocka: update from 1.1.5+ to 1.1.7Randy MacLeod2023-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cukinia: upgrade 0.6.0 -> 0.6.1Wang Mingyu2023-03-041-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: upgrade 1.8.2 -> 1.9.0Wang Mingyu2023-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-serial-test: add recipeJan Luebbe2023-02-151-0/+13
| | | | | | | 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>
* fwts: Upgrade to 22.11.00Khem Raj2022-12-033-6/+75
| | | | | | | 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>
* cpputest: add possibility to build extensionsPeter Marko2022-10-281-1/+3
| | | | | Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cpputest: remove dev package dependencyPeter Marko2022-10-281-0/+2
| | | | | | | | 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>
* bats: upgrade 1.8.0 -> 1.8.2Wang Mingyu2022-10-241-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* syzkaller: add recipe and selftest for syzkaller fuzzingOvidiu Panait2022-10-212-0/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* bats: upgrade 1.7.0 -> 1.8.0wangmy2022-09-201-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnome-keyring,cunit,xfce4-panel: Do not inherit remove-libtool class hereKhem Raj2022-08-121-1/+1
| | | | | | Its in global namespace and already inherited Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: upgrade 1.6.1 -> 1.7.0wangmy2022-07-071-3/+3
| | | | | | | 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>
* googletest: upgrade 1.12.0 -> 1.12.1wangmy2022-07-061-3/+3
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: upgrade 1.11.0 -> 1.12.0wangmy2022-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* evtest: upgrade 1.34 -> 1.35Wang Mingyu2022-05-243-55/+9
| | | | | | | | | | | 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>
* bats: upgrade 1.6.0 -> 1.6.1Diego Sueiro2022-05-162-154/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* bats: Add patch to fix false-negatives caused by teardown codeRichard Neill2022-05-092-2/+156
| | | | | | | | | | | | 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>
* googletests: Update SRC_URI to 9e71237 to move closer to lastest versionWilly Tu2022-04-111-2/+2
| | | | | | | | | | Picked https://github.com/google/googletest/commit/9e712372214d75bb30ec2847a44bf124d48096f3 as the latest Verified commit and move closer to the HEAD of googletests. Googletests does not make releases that often and some good to have features are missing. Signed-off-by: Willy Tu <wltu@google.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: Do not use --as-needed on ppc64Khem Raj2022-03-141-0/+4
| | | | | | | | | This is not seen on non ppc64 hosts Fixes build/src/lib/src/.libs/libfwts.so: undefined reference to `fwts_acpica_sem_count_get' Signed-off-by: Khem Raj <raj.khem@gmail.com>