73 Commits

Author SHA1 Message Date
Peter Kjellerstedt
944966b53b googletest: Switch branch from master to main
The master branch has been renamed to main in the github repo.

Change-Id: I19e9ea3998cf22508425d87fceb64ae68fbff166
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-12-27 14:44:57 -08:00
Armin Kuster
7fbb276718 recipes: Update SRC_URI branch and protocols
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: Armin Kuster <akuster808@gmail.com>
2021-11-13 07:45:48 -08:00
Anastasios Kavoukis
24e01c99c4 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>
(cherry picked from commit 06a93a04efe2c2cbae6de93d07962be4dfa35019)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-08-01 09:28:45 -07:00
Ross Burton
dd632f78e6 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>
(cherry picked from commit b7b0bcb4fed0477ee22066b387c0f49eaa5dc262)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-17 06:47:18 -07:00
Kamil Dziezyk
650bdf6889 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>
(cherry picked from commit df625750c681365b8ed1fbd746cbe054437395cb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-17 06:47:18 -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
Armin Kuster
d698b26edc evtest: move to recipes-test
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:37 -08:00
Armin Kuster
37a4340874 cppunit: move to recipes-test
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:36 -08:00