Commit Graph

81 Commits

Author SHA1 Message Date
Andreas Müller 8deb9e96df catch2: upgrade 2.13.6 -> 2.13.7
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>
2021-08-19 09:58:56 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
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>
2021-08-03 10:21:25 -07:00
Johannes Obermüller f0b8ee3702 evtest: fix timestamps in output
Broken patch caused seconds to be printed twice instead of
seconds and microseconds.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 08:53:04 -07:00
Anastasios Kavoukis 06a93a04ef pm-qa: fix paths for shell scripts
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>
2021-07-29 10:35:38 -07:00
wangmy 6c3213a0ad bats: upgrade 1.3.0 -> 1.4.1
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>
2021-07-29 10:35:38 -07:00
Ben Horgan 87a7098e0d cpputest: Add initial recipe. Version 4.0.
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-16 09:23:04 -07:00
Kai Kang e2a4d4add4 bats: fix qa issue when multilib eanbled
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>
2021-06-30 22:11:41 -07:00
zhengruoqin 0d1e7f2c54 fwts: upgrade 21.03.00 -> 21.06.00
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>
2021-06-23 23:20:36 -07:00
zangrc f343ea39c5 googletest: upgrade 1.10.0 -> 1.11.0
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:42:25 -07:00
Khem Raj f701ffa95d googletest: Update to tip of trunk
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>
2021-05-17 09:00:35 -07:00
Khem Raj 6fc5820538 catch2: Upgrade to 2.13.6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-05 09:46:08 -07:00
Ross Burton b7b0bcb4fe fwts: upgrade to 21.03.00
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>
2021-04-15 09:28:43 -07:00
Kamil Dziezyk df625750c6 bats: upgrade 1.1.0 -> 1.3.0
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>
2021-04-15 09:28:43 -07:00
Patrick Williams 07114e58a4 catch2: upgrade to 2.13.4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21 23:37:54 -08:00
Adrian Herrera 502f6b66c4 cppunit: add support for native version
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>
2021-01-14 10:11:15 -08:00
Khem Raj 1b825a6e58 cmocka: Fix buils with LTO
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>
2020-11-09 13:41:02 -08:00
Armin Kuster f946444879 cmocka: add recipe
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>
2020-09-28 09:17:18 -07:00
leckijakub 65a6ecbab5 cukinia: new package
Signed-off-by: leckijakub <jakub.lecki@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-11 09:39:23 -07:00
Khem Raj 5d949d9322 fwts: Upgrade to 20.07.00
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>
2020-08-17 12:26:40 -07:00
Sakib Sajal 27ec5216af cunit: add ptest
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-09 17:03:24 -07:00
Zong Li 630d752a0c Upgrade testfloat to 3e version.
Upgrade TestFloat to 3e version.

Signed-off-by: Zong Li <zong.li@sifive.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-07 23:01:29 -07:00
Pierre-Jean Texier c31bf82c59 cunit: fix upstream check URL
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>
2020-04-05 10:38:14 -07:00
Khem Raj 5057746583 meta-oe: Remove using python2
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>
2020-01-22 09:56:34 -08:00
Andreas Müller d719775b4c cppunit: upgrade 1.14.0 -> 1.15.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-29 10:22:56 -08:00
Martin Jansa 68be5fe160 googletest: fix build with newer oe-core without python in HOSTTOOLS
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-11 16:22:40 -08:00
Khem Raj 64f07ba852 evtest: Fix build for 32bit arches with 64bit time_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-01 11:24:26 -08:00
Lei YU 07f22acb16 googletest: Add PV and set to 1.10.0
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-24 20:57:16 -08:00
Lei YU b4bd6f8213 googletest: move to release 1.10.0
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>
2019-11-21 17:51:37 -08:00
André Draszik ab4a5a119e cunit: allow to build a -native package
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>
2019-11-07 17:43:43 -08:00
Christophe PRIOUZEAU a0f9c4bc47 testfloat: Clarify BSD license variant
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>
2019-10-25 10:29:51 -07:00
Oleksandr Kravchuk b40263b948 catch2: update to 2.9.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Oleksandr Kravchuk 19528ba2a6 evtest: update to 1.34
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-14 07:16:38 -07:00
Adrian Bunk c6351749d6 meta-oe: Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with 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>
2019-08-30 09:27:56 -07:00
Mikko Rapeli c95842cdca stress-ng: delete recipe
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>
2019-08-14 16:05:00 -07:00
Ricardo Ribalda Delgado bc93fe6950 fwts: Update to 19.06.00
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>
2019-07-30 19:15:24 -07:00
Bartosz Golaszewski aa98f9eb73 bats: new package
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>
2019-07-26 14:29:17 -07:00
William A. Kennington III via Openembedded-devel 16071edf1d googletest: The gtest and gmock projects were combined under googletest in 2015
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>
2019-06-25 14:21:48 -07:00
William A. Kennington III via Openembedded-devel 28274a10bf gtest: Googletest project is back under github.com/google/googletest
No longer under the Abseil project.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Adrian Bunk b250fe8002 catch2: Upgrade 2.6.1 -> 2.7.2
Remove patch applied upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 14:10:13 -07:00
Andreas Müller beb872b68a cppunit: fix patch fuzz warning
| Applying patch 0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch
| patching file doc/Makefile.am
| Hunk #1 succeeded at 8 with fuzz 2 (offset -14 lines).

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 11:55:34 -07:00
Oleksandr Kravchuk 93ddf9927b cxxtest: update to 4.4
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 20:59:40 -07:00
Oleksandr Kravchuk f216dadcd2 cppunit: update to 1.14.0
License checksum has been changed due to the minor indentation change
in the COPYING file.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 20:59:40 -07:00
Khem Raj 7b01edd129 catch2: Upgrade to 2.6.1
Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-13 09:27:22 -08:00
Khem Raj 8f6995ddc6 catch2: Upgrade to 2.6.0
Drop backported patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-05 16:43:12 -08:00
Khem Raj aa5cf52fd4 catch2: Replace the patch with upstreamable patch
Update to tip of master

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-02 10:28:18 -08:00
Khem Raj ba604d99ae catch2: Upgrade to 2.5.0 release
Drop upstreamed patch and add a patch to fix build seen with clang
and gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 22:15:59 -08:00
Brad Bishop 179a1b9ea8 gtest: update to 1.8.1
Update to 1.8.1, which has proper pkg-config support (so
Add-pkg-config-support.patch can be dropped).

Also the canonical gtest seems to have moved out of the google github
organization into something called abseil.  Update HOMEPAGE and SRC_URI
to match.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-11 22:13:55 -08:00
Randy MacLeod d5bcdfc064 stress-ng: Upgrade from 0.09.37 to 0.09.45
Drop the upstreamed patch:
   0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch
Rebase other patches except for the stress-malloc.c change
which has made it upstream:
   c3a2e662 stress-malloc: use HAVE_MALLOPT check for mallopt glibc function

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-12 17:28:49 -08:00
Bartosz Golaszewski 1d7ae7438a catch2: new package
Add a recipe for the catch2 testing framework. There's a bug upstream
which makes it impossible to build with gcc7 so include a patch.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-16 08:17:46 -07:00
Khem Raj 7e0fa293b7 recipes: Exclude non-buildable recipes from world for musl build
These recipes need to be fixed for musl, until they are needed
on musl lets remove them from world builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-20 23:58:58 -07:00