summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-test
Commit message (Collapse)AuthorAgeFilesLines
...
* fwts: Upgrade to 22.01.00Khem Raj2022-03-146-85/+8
| | | | | | | Drop upstreamed poll.h patch Refresh rest of patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-048-8/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cukinia: upgrade 0.5.1 -> 0.6.0Wang Mingyu2022-03-011-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: upgrade 1.5.0 -> 1.6.0Wang Mingyu2022-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Added: ----- new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize quotes around code blocks in error output (#506) an example/regression test for running background tasks without blocking the test run (#525, #535) bats_load_library for loading libraries from the search path $BATS_LIB_PATH (#548) Fixed: ----- improved error trace for some broken cases (#279) removed leftover debug file /tmp/latch in selftest suite (single use latch) (#516) fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (#516) fixed leaking of local variables from debug trap (#520) don't mark FD3 output from teardown_file as <failure> in junit output (#532) fix unbound variable error with Bash pre 4.4 (#550) Documentation: -------------- remove links to defunct freenode IRC channel (#515) improved grammar (#534) fixed link to TAP spec (#537) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cxxtest: Define PIP_INSTALL_DIST_PATHKhem Raj2022-02-281-0/+2
| | | | | | Helps to find the wheel file Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmocka: use https protocol for fetchingTim Orling2022-01-181-1/+1
| | | | | | | Upstream gitlab instance is refusing git:// protocol. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cxxtest: move to setuptoolsRoss Burton2022-01-181-6/+7
| | | | | | | | | | | | | | setup.py has always supported setuptools, so change the inherit now that distutils is deprecated. Leave S as the top of the source tree, and set SETUPUTILS_SETUP_PATH to find the setup.py. Fix the hashbang in cxxtestgen, which was still pointing at python not python3. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: do out-of-tree buildsRoss Burton2022-01-091-2/+1
| | | | | | | The bug preventing out-of-tree builds was fixed in 21.05.00. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: upgrade 1.4.1 -> 1.5.0wangmy2022-01-072-47/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-install.sh-consider-multilib.patch removed since it is included in 1.5.0 Changelog: Issues for this release <https://github.com/bats-core/bats-core/pull/####> ========= Added: --------- new command line flags (#488) --verbose-run: Make run print $output by default -x, --trace: Print test commands as they are executed (like set -x)` --show-output-of-passing-tests: Print output of passing tests --print-output-on-failure: Automatically print the value of $output on failed tests --gather-test-outputs-in <directory>: Gather the output of failing and passing tests as files in directory Experimental: add return code checks to run via !/-<N> (#367, #507) install.sh and uninstall.sh take an optional second parameter for the lib folder name to allow for multilib install, e.g. into lib64 (#452) add run flag --keep-empty-lines to retain empty lines in ${lines[@]} (#224, a894fbf) add run flag --separate-stderr which also fills $stderr and $stderr_lines (#47, 5c9b173d, #507) Fixed: --------- don't glob run's $output when splitting into ${lines[@]} (#151, #152, #158, #156, #281, #289) remove empty line after test with pretty formatter on some terminals (#481) don't run setup_file/teardown_file on files without tests, e.g. due to filtering (#484) print final line without newline on Bash 3.2 for midtest (ERREXIT) failures too (#495, #145) abort with error on missing flock/shlock when running in parallel mode (#496) improved set -u test and fixed some unset variable accesses (#498, #501) shorten suite/file/test temporary folder paths to leave enough space even on restricted systems (#503) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: Switch branch from master to mainPeter Kjellerstedt2021-12-211-1/+1
| | | | | | | The master branch has been renamed to main in the github repo. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fb-test: fix SRC_URIOleksandr Kravchuk2021-12-061-3/+1
| | | | | | | | | Original repo doesn't exist any more. Even though I couldn't find any new official repo, this is the only one on github that contains used commit hash. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-037-7/+7
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: source files from correct directorySakib Sajal2021-09-241-0/+6
| | | | | | | | | | | Files are installed in ${baselib} directory when multilib is enabled and not in the hardcoded lib directory making it fail to source bats-core files. Parameterize the libdir such that the files are sources correctly. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* catch2: upgrade 2.13.6 -> 2.13.7Andreas Müller2021-08-191-1/+1
| | | | | | | | | | | | Fixes * Added missing <iterator> include in benchmarking. (#2231) * Fixed noexcept build with benchmarking enabled (#2235) * Fixed build for compilers with C++17 support but without C++17 library support (#2195) * JUnit only uses 3 decimal places when reporting durations (#2221) * !mayfail tagged tests are now marked as skipped in JUnit reporter output (#2116) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-039-24/+24
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* evtest: fix timestamps in outputJohannes Obermüller2021-08-031-1/+1
| | | | | | | Broken patch caused seconds to be printed twice instead of seconds and microseconds. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pm-qa: fix paths for shell scriptsAnastasios Kavoukis2021-07-291-1/+2
| | | | | | | | | | | | | | | | | | A commit in the repo of pm-qa: "adf9df9 Fix path to library files and change shebang line" Changed the text that sed was using to replace relative to absolute paths. As a result sed was not effectively finding the text "source ../include" to replace it, as the sed should be now searching for ". ../include". Similarly for "../Switches" Signed-off-by: Anastasios Kavoukis <anastasios.kavoukis@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: upgrade 1.3.0 -> 1.4.1wangmy2021-07-291-2/+2
| | | | | | | | | | | | | Added: Docker image architectures amd64, 386, arm64, arm/v7, arm/v6, ppc64le, s390x https://github.com/bats-core/bats-core/pull/438 Fixed: automatic push to Dockerhub https://github.com/bats-core/bats-core/pull/438 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cpputest: Add initial recipe. Version 4.0.Ben Horgan2021-07-161-0/+21
| | | | | Signed-off-by: Ben Horgan <ben.horgan@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: fix qa issue when multilib eanbledKai Kang2021-06-302-1/+45
| | | | | | | | | | | | | | Fix qa issue for bats when multilib is enabled: | ERROR: bats-1.3.0-r0 do_package: QA Issue: bats: Files/directories were installed but not shipped in any package: | /usr/lib | /usr/lib/bats-core | /usr/lib/bats-core/formatter.bash | /usr/lib/bats-core/test_functions.bash Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: upgrade 21.03.00 -> 21.06.00zhengruoqin2021-06-232-13/+13
| | | | | | | | Refresh the following patch: 0003-Remove-Werror-from-build.patch Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: upgrade 1.10.0 -> 1.11.0zangrc2021-06-181-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: Update to tip of trunkKhem Raj2021-05-171-4/+3
| | | | | | | Check the top level license for checksums, as it is now available and is BSD-3-Clause Signed-off-by: Khem Raj <raj.khem@gmail.com>
* catch2: Upgrade to 2.13.6Khem Raj2021-05-051-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: upgrade to 21.03.00Ross Burton2021-04-157-58/+69
| | | | | | | | | | | | | | | Rebase the musl patches. Drop json-c dependency as this is no longer used. Drop FILES_${PN}-dbg packaging as this happens magically now. Drop -Wno-error CFLAGS as we patch out -Werror entirely. Add dtc RDEPENDS as this is needed at runtime. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: upgrade 1.1.0 -> 1.3.0Kamil Dziezyk2021-04-151-3/+7
| | | | | | | | | Add 'pretty' PACKAGECONFIG option with ncurses runtime dependency. This option allows to display test results with '--formatter pretty|-p' bats command line option. Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* catch2: upgrade to 2.13.4Patrick Williams2021-02-211-2/+2
| | | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cppunit: add support for native versionAdrian Herrera2021-01-141-0/+2
| | | | | | | | | This is useful for native tools relying on CppUnit to test their functionality. Signed-off-by: Adrian Herrera <adrian.herrera@arm.com> Change-Id: I9f6bfcbddf3a67696395eb1061352b9ca1cd7036 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmocka: Fix buils with LTOKhem Raj2020-11-092-56/+7
| | | | | | | | | Update to latest on master Drop uintptr_t patch, its fixed upstream differently Package up the new library libproc_uptime.so needed by examples Add it to INSANE_SKIP for examples Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmocka: add recipeArmin Kuster2020-09-283-0/+102
| | | | | | | includes ptest and bundling of examples that can be used for testing Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cukinia: new packageleckijakub2020-09-111-0/+19
| | | | | Signed-off-by: leckijakub <jakub.lecki@3mdeb.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: Upgrade to 20.07.00Khem Raj2020-08-172-18/+8
| | | | | | | Use B = S since new version uses relative paths in makefiles this version compiles fine with clang too Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cunit: add ptestSakib Sajal2020-07-092-2/+35
| | | | | Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Upgrade testfloat to 3e version.Zong Li2020-05-073-84/+183
| | | | | | | Upgrade TestFloat to 3e version. Signed-off-by: Zong Li <zong.li@sifive.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cunit: fix upstream check URLPierre-Jean Texier2020-04-051-0/+2
| | | | | | | | | | | | Fixes: $: devtool check-upgrade-status cunit <...> INFO: cunit 2.1-3 UNKNOWN_BROKEN None Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-221-1/+1
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cppunit: upgrade 1.14.0 -> 1.15.1Andreas Müller2019-12-291-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: fix build with newer oe-core without python in HOSTTOOLSMartin Jansa2019-12-111-0/+8
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* evtest: Fix build for 32bit arches with 64bit time_tKhem Raj2019-12-012-2/+45
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: Add PV and set to 1.10.0Lei YU2019-11-241-0/+2
| | | | | Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: move to release 1.10.0Lei YU2019-11-211-1/+1
| | | | | | | | | | | The googletest recipe was using 1.8.1 tag, and in the recipe it was using the git revision instead of the tag release. Rename it to googletest_git.bb and use the 1.10.0 release revision to get the latest release. Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cunit: allow to build a -native packageAndré Draszik2019-11-071-0/+2
| | | | | | | This will e.g. enable us to use it from nghttp2-native Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* testfloat: Clarify BSD license variantChristophe PRIOUZEAU2019-10-251-1/+1
| | | | | | | The License of testfloat is BSD-3-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* catch2: update to 2.9.2Oleksandr Kravchuk2019-09-161-4/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* evtest: update to 1.34Oleksandr Kravchuk2019-09-142-4/+40
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with ↵Adrian Bunk2019-08-301-1/+1
| | | | | | | | | | COMPATIBLE_HOST_libc-musl = 'null' This gives users a proper error message when trying to build a known non-building package. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* stress-ng: delete recipeMikko Rapeli2019-08-143-189/+0
| | | | | | | stress-ng is now available from poky directly. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fwts: Update to 19.06.00Ricardo Ribalda Delgado2019-07-303-102/+15
| | | | | | | | | | Update to latest release. Since version 18.08.00, libbsd is a dependency: https://wiki.ubuntu.com/FirmwareTestSuite/ReleaseNotes/18.08.00 Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bats: new packageBartosz Golaszewski2019-07-261-0/+21
| | | | | | | | | This adds a recipe for the bats package. Bats is a TAP-compliant testing framework for Bash. The recipe is very simple - it just installs a bunch of bash scripts. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* googletest: The gtest and gmock projects were combined under googletest in 2015William A. Kennington III via Openembedded-devel2019-06-251-1/+1
| | | | | | | PROVIDES gmock and gtest for backwards-compatibility with existing DEPENDS. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>