Commit Graph

75 Commits

Author SHA1 Message Date
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
Khem Raj 2f26e8af66 stress-ng: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-20 21:49:29 -07:00
Martin Jansa 8996356654 fwts: add dependency on bison-native
* fixes:
fwts/18.05.00+gitAUTOINC+b0ec7aa2ef-r0/build/src/acpica/source/compiler'
m4 -P -I../../../../../git/src/acpica/source/compiler ../../../../../git/src/acpica/source/compiler/aslparser.y > aslcompiler.y
flex -i -PAslCompiler -oaslcompilerlex.c ../../../../../git/src/acpica/source/compiler/aslcompiler.l
yacc -v -d -y -bdtparser -pDtParser ../../../../../git/src/acpica/source/compiler/dtparser.y
flex -i -PDtParser -odtparserlex.c ../../../../../git/src/acpica/source/compiler/dtparser.l
yacc -v -d -y -bprparser -pPrParser ../../../../../git/src/acpica/source/compiler/prparser.y
flex -i -PPrParser -oprparserlex.c ../../../../../git/src/acpica/source/compiler/prparser.l
/bin/bash: yacc: command not found
Makefile:3684: recipe for target 'dtparser.c' failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Khem Raj eedd174a26 stress-ng: Upgrade to 0.09.37
Carries fixes needed for building with glibc 2.28+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj e0f7b2621a fwts: Upgrade to V18.05.00
drop backported patches and fix build with gcc8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-31 21:53:52 -07:00
Trevor Woerner 316753e9cf gtest: switch away from github archive
Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-23 15:32:05 -07:00
Armin Kuster 60ece21d85 stress-ng: refresh patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
patching file stress-fcntl.c
Hunk #1 succeeded at 415 with fuzz 2 (offset 2 lines).

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:38 -07:00