Commit Graph

146 Commits

Author SHA1 Message Date
Changqing Li 2ee46eed41 turbostat: make turbostat's version align with kernel version
* Current PV 3.4 is the kernel version when the recipe is newly added,
set PKGV to KERNEL_VERSION to make it always align with kernel version
* turbostat has its runtime version, set CHECK_VERSION_PV to this version to mute
the version mismatch warning
[snip of turbostat.c]
void print_version()
{
    fprintf(outf, "turbostat version 2024.07.26 - Len Brown <lenb@kernel.org>\n");
}
[snip]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-05-17 11:56:50 -06:00
Changqing Li 96bfc67bbd version-check.conf: mute bridge-utils version mismatch warning
Runtime version of brctl is 1.7.1, but the configure.ac set version as
1.7 (AC_INIT([bridge-utils],[1.7])). And refer [1], this utility is
DEPRECATED, only critical bug fixes only, so it is nearly not possible
to correct from upstream, so mute this warning since it has no critical
influence.

[1] https://git.kernel.org/pub/scm/network/bridge/bridge-utils.git/commit/?h=main&id=ab8a2cc330253321be7bc69dea88bfaa3d48415e

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-05-17 11:56:50 -06:00
Changqing Li af44766029 version-check.conf: add CHECK_VERSION_PV for pn-netperf
For netperf, current PV is 2.7.0+git, and the SRCREV is newer than 2.7.0,
and there is no tag 2.7.1, the latest tag is in 2015, refer [1], so it
is not possile for us to make PV align with the runtime version below
by update SRCREV now, add CHECK_VERSION_PV for pn-netperf to mute the
version mismatch waring

$netserver -V
Netperf version 2.7.1

[1] https://github.com/HewlettPackard/netperf

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-05-17 11:56:50 -06:00
Sofiane HAMAM 6d67cc96c8 reproducibility: Remove OpenOCD from non reproducible list
OpenOCD non reproducible build has been fixed.
See commit : 60d88818646dc418c3b505ea8b2e24c9a7e48ef0
Remove OpenOCD from the known non reproducibles.

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00
Chen Qi 14ff80c9dc version-check.conf: add mechanism for checking version mismatch
Add a mechanism to check mismatch between runtime version and build time version.

To use, add the following line to local.conf:

  include conf/version-check.conf

Ideally, layers will have their own conf/version-check.conf to establish
some baseline, so that any future warning indicates some error. In such
case, users can use include_all:

  include_all conf/version-check.conf

The basic idea is to use qemu to run executables at build time, extract
possible versions, and check if there's a mismatch found.

Python meta data and .pc files are also checked for quick match. This
is because such info are also easy to be checked by users.

check-version-mismatch.bbclass is the class that does the actual work.
A new variable, CHECK_VERSION_PV, is introduced. It defaults to ${PKGV},
but also allows override. This allows us to handle special cases in each
layer.

version-check.conf is the configuration file that makes this functionality
easier to use and draws some baseline. It contains some override settings
for some recipes. With these overrides, all recipes in oe-core are handled
well. All warnings are valid warnings.

Note that 'ps' is added to HOSTTOOLS in version-check.conf. This is because
we need 'ps' to find stale processes and then clean them.

The warnings are like below:

  WARNING: time-1.9-r0 do_package_check_version_mismatch: Possible runtime versions ['UNKNOWN'] do not match recipe version 1.9
  WARNING: python3-unittest-automake-output-0.2-r0 do_package_check_version_mismatch: Possible runtime versions ['0.1'] do not match recipe version 0.2
  WARNING: pinentry-1.3.1-r0 do_package_check_version_mismatch: Possible runtime versions ['1.3.1-unknown'] do not match recipe version 1.3.1
  ...

There will be a data directory containing all details: tmp/check-version-mismatch.
This directory contains detailed data for each recipe that is built.
If users don't want it, they can set DEBUG_VERSION_MISMATCH_CHECK to 0.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-04 19:18:46 -07:00
Mingli Yu aea21d5a39 minizip-ng: Add ptest support
# ./run-ptest
[==========] Running 55 tests from 6 test suites.
[----------] Global test environment set-up.
[----------] 22 tests from crypt
PASS:  crypt.rand
PASS:  crypt.sha1
PASS:  crypt.sha224
PASS:  crypt.sha256
PASS:  crypt.sha384
PASS:  crypt.sha512
PASS:  crypt.aes128
PASS:  crypt.aes128_cbc
PASS:  crypt.aes128_gcm
PASS:  crypt.aes194
PASS:  crypt.aes256
PASS:  crypt.hmac_sha1
PASS:  crypt.hmac_sha1_short_password
PASS:  crypt.hmac_sha256
PASS:  crypt.pbkdf2
PASS:  crypt.pbkdf2_long_odd_password
PASS:  crypt.pbkdf2_short_password
PASS:  crypt.pbkdf2_rfc6070_v1
PASS:  crypt.pbkdf2_rfc6070_v2
PASS:  crypt.pbkdf2_rfc6070_v3
PASS:  crypt.pbkdf2_rfc6070_v4
PASS:  crypt.pbkdf2_rfc6070_v5
[----------] 1 test from os
PASS:  os.utf8_unicode_string
[----------] 2 tests from encrypt
PASS:  encrypt.pkcrypt
PASS:  encrypt.aes
[----------] 2 tests from stream
bzip compressed from 877 to 505
bzip uncompressed from 505 to 877
PASS:  stream.bzip
lzma compressed from 877 to 526
lzma uncompressed from 526 to 877
PASS:  stream.lzma
[----------] 20 tests from os/path_resolve
PASS:  os/path_resolve.os/0
PASS:  os/path_resolve.os/1
PASS:  os/path_resolve.os/2
PASS:  os/path_resolve.os/3
PASS:  os/path_resolve.os/4
PASS:  os/path_resolve.os/5
PASS:  os/path_resolve.os/6
PASS:  os/path_resolve.os/7
PASS:  os/path_resolve.os/8
PASS:  os/path_resolve.os/9
PASS:  os/path_resolve.os/10
PASS:  os/path_resolve.os/11
PASS:  os/path_resolve.os/12
PASS:  os/path_resolve.os/13
PASS:  os/path_resolve.os/14
PASS:  os/path_resolve.os/15
PASS:  os/path_resolve.os/16
PASS:  os/path_resolve.os/17
PASS:  os/path_resolve.os/18
PASS:  os/path_resolve.os/19
[----------] 8 tests from stream/stream_find
PASS:  stream/stream_find.find/0
PASS:  stream/stream_find.find/1
PASS:  stream/stream_find.find/2
PASS:  stream/stream_find.find/3
PASS:  stream/stream_find.find/4
PASS:  stream/stream_find.find/5
PASS:  stream/stream_find.find/6
PASS:  stream/stream_find.find/7
[----------] Global test environment tear-down
[==========] 55 tests from 6 test suites ran.
[  PASSED  ] 55 tests.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-02 07:27:48 -07:00
Khem Raj f4a96810ba Drop styhead from LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 07:41:47 -07:00
Yoann Congal 6be4067178 reproducibility: Mark fsverity, libsdl2 packages as known non-reproducible
From AB run:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/36/steps/32/logs/stdio

Diffoscope output is at:
https://valkyrie.yocto.io/pub/repro-fail-openembedded/meta-oe/oe-reproducible-20250315-8_7ama2q/packages/diff-html/

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-15 23:05:32 -07:00
Yoann Congal d7cef19fcc reproducibility: update known non-reproducible packages
Those reproducible failures are from AB runs:
* https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/34
* https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/35

https://valkyrie.yocto.io/pub/repro-fail-openembedded/

NB: diffoscope output can be found in
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 19:34:55 -07:00
Yi Zhao 59b904920b hiredis: set rdepends on virtual-redis
Now hiredis can be used not only with Redis, but also with Valkey, an
open source key/value datastore that is fully compatible with Redis. As
Redis changed its license, many users have switched to Valkey. Add
RPROVIDES virtual-redis in both redis and valkey, and set it as the
runtime dependency of hiredis.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 19:34:55 -07:00
Robert Yang e5abf9a3b9 conf/layer.conf: meta-clang -> clang-layer
It should be clang-layer, not meta-clang.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-24 21:31:38 -08:00
Alistair Francis 766281a238 spdm-utils: Initial support for spdm-utils
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-04 20:25:51 -08:00
Richard Purdie bd6a1bb278 recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Markus Volk 27ab1bbc95 mozjs-115: remove recipe
polkit was the only consumer and switched to ducktape

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-18 09:17:02 -08:00
Dan McGregor 065abae6cf hplip: Address reproducibility issues
The distributed configure script removes the existing CFLAGS if it
finds python3. Correct this, so that our prefix mapping flags and
other OpenEmbedded flags get applied.

This patch was acquired from the comments in
https://bugs.launchpad.net/hplip/+bug/1879445

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:16 -08:00
Thomas Perrot 45cd8411d1 taisei: add a recipe for version 1.4.2
Taisei Project is an open source danmaku.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 14:53:13 -08:00
Mingli Yu c05e9bd409 ptest-packagelists-meta-oe.inc: Add tomlplusplus
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-17 14:07:45 -07:00
Mingli Yu b838ca53de ptest-packagelists-meta-oe.inc: Add libtoml11
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-12 07:57:16 -07:00
Mingli Yu 4bda22279d ptest-packagelists-meta-oe.inc: Add asio
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-10 12:53:49 -07:00
Khem Raj bba9e7a041 ptest-packagelists-meta-oe: Add fuse3 to fast ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 14:46:02 -07:00
Khem Raj d909e0d1e3 layer.conf: Update to walnascar (5.2) layer/release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-01 09:23:12 -07:00
Khem Raj f2ba44f5d6 python3-pefile: Remove recipe
It has been moved to core layer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 23:54:18 -07:00
Mingli Yu c0095bd118 rocksdb: Add ptest support
# ./run-ptest
PASS: agg_merge_test
PASS: cache_test
PASS: db_basic_test
PASS: env_basic_test
PASS: testutil_test

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00
Alexandre Truong 631c69d853 pegtl: add ptest support
Test added to the fast-list.

Result of ptest-runner:

root@qemux86-64:~# ptest-runner pegtl
START: ptest-runner
2024-08-29T13:57
BEGIN: /usr/lib/pegtl/ptest
PASS: src/test/pegtl/pegtl-test-action_enable
PASS: src/test/pegtl/pegtl-test-action_match
PASS: src/test/pegtl/pegtl-test-actions_one
[...]
PASS: src/test/pegtl/pegtl-test-utf8_general
PASS: src/test/pegtl/pegtl-test-visit
PASS: All 128 tests passed
DURATION: 4
END: /usr/lib/pegtl/ptest
2024-08-29T13:57
STOP: ptest-runner
TOTAL: 1 FAIL: 0

NB: two tests are being skipped with a exception raised as support is disabled

Exception support disabled, skipping test...
PASS: src/test/pegtl/pegtl-test-internal_file_mapper
Exception support disabled, skipping test...
PASS: src/test/pegtl/pegtl-test-internal_file_opener

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 09:37:50 -07:00
Randy MacLeod efbbb8dfff libee: remove recipe since libee is obsolete
libee had been used by rsyslog but the library never relly panned out.

It has been declared to be obsolete:
   Early versions of rsyslog and liblognorm used it for representing structured content.
   However, this is long gone. We do not know of any other user. So libee should be of
   no further interest and is provided here solely for historical reasons.
https://github.com/rsyslog/libee

Also remove references to libee in:
   meta-oe/conf/include/ptest-packagelists-meta-oe.inc
   meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-27 09:19:06 -07:00
Khem Raj 395e9075ac python3-pefile: Move from meta-python to meta-oe
- This recipe is needed by newer versions of fwupd from meta-oe
- Add ptest support for python3-pefile
- Add python3-pefile to PTESTS_FAST_META_OE since tests take < 30s

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-09 22:43:41 -07:00
Wentao Zhang d06a9c5049 meta-oe/conf/layer.conf: remove libbpf from NON_MULTILIB_RECIPES for x86 and x86-64
libbpf supports x86_64 and i.86, remove libbpf from NON_MULTILIB_RECIPES
for x86 and x86-64

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:12:00 -07:00
Dmitry Baryshkov 07772ae470 layers: stop declaring compatibility with scarthgap
With the UNPACKDIR changes in place the layers are no longer compatible
with the scarthgap release. Drop it from LAYERSERIES_COMPAT and limit
compatibility to styhead only.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:02 -07:00
Yoann Congal d3751ce994 reproducibility: move repro excludes from AB config.json to meta-oe
For now, the known non-reproducible packages list is stored inside the
autobuilder config.json file. This is not ideal. Let's move this list
into each layers of meta-openembedded.

These lists can be used with, in local.conf:
  include conf/include/non-repro-meta-oe.inc
  OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES = "${KNOWN_NON_REPRO_META_OE}"

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-29 11:11:51 -07:00
Khem Raj 1e5ae73fd3 layers: Add styhead to compatible release series
styhead is codename for upcoming 5.1 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-28 08:55:01 -07:00
Khem Raj 50f8814378 pv: Fix ptest failures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-12 23:07:33 -07:00
Khem Raj 4958bfe013 ptest-packagelists-meta-oe: jemalloc and oprofile are passing now
Move them into PTESTS_FAST_META_OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-11 23:32:36 -07:00
Khem Raj 04eefd302d libxml++: Delete recipe for 2.42.1
We already have libxml++-5 provided and some of
the dependencies for libxml++ (older version of glibmm)
are not available.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-11 23:32:36 -07:00
Peter Marko a0a1143617 microsoft-gsl: add new recipe including ptest
The Guidelines Support Library (GSL) contains functions
and types that are suggested for use by the C++ Core Guidelines
maintained by the Standard C++ Foundation.
This repo contains Microsoft's implementation of GSL.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27 18:10:41 -07:00
Khem Raj a8310f7f31 layer.conf: Prepare for release, drop nanbield LAYERSERIES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:12 -07:00
Khem Raj 8186418f5b layer.conf: Update for the scarthgap release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-16 10:29:31 -07:00
Robert P. J. Day 58224a65f2 fmt: remove unnecessary "inherit ptest" directive
Given that the recipe does not provide the standard ptest
infrastructure, remove the superfluous inherit of ptest.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-10 21:53:58 -07:00
Khem Raj 092492d68f ptest-packagelists-meta-oe: Move libgpiod out of PTESTS_PROBLEMS_META_OE
It works fine now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-05 11:02:03 -08:00
Yi Zhao d61e84a10b layer.conf: Add nativesdk-libdevmapper PREFERRED_RPROVIDER
Refer to [1] and [2], add nativesdk-libdevmapper PREFERRED_RPROVIDER to
fix [build-deps] QA warning when building nativesdk-cryptsetup.

Fixes:
NOTE: Multiple providers are available for runtime nativesdk-libdevmapper (nativesdk-libdevmapper, nativesdk-lvm2)
Consider defining a PREFERRED_RPROVIDER entry to match nativesdk-libdevmapper

WARNING: nativesdk-cryptsetup-2.7.0-r0 do_package_qa: QA Issue:
nativesdk-cryptsetup rdepends on nativesdk-libdevmapper, but it isn't a
build dependency? [build-deps]

[1] https://git.openembedded.org/meta-openembedded/commit/?id=3f64779eae2d8312f569bee863f90ec4f8176e6c
[2] https://git.openembedded.org/meta-openembedded/commit/?id=1e848281ef6ff53bb89e323a978ebd00f02cb1f2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-01 16:37:55 -08:00
Khem Raj 3fe8ea15c3 ptest-packagelists-meta-oe.inc: Remove oprofile from PTESTS_PROBLEMS_META_OE
Its not in PTESTS_FAST_META_OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-26 08:13:21 -08:00
Khem Raj c558d137d4 ptest-packagelists-meta-oe: Remove oprofile for rv32/rv64
oprofile is not ported to riscv yet.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 07:38:42 -08:00
Khem Raj 4dbbef7a39 opencl-icd: Rename rdepends to virtual-opencl-icd
This helps in fending off the build time QA error

WARNING: /mnt/b/yoe/master/sources/meta-openembedded/meta-oe/recipes-core/opencl/opencl-icd-loader_2023.12.14.bb: RPROVIDES is set to v
irtual/opencl-icd, the substring 'virtual/' holds no meaning in this context. It is suggested to use the 'virtual-' instead.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Zoltán Böszörményi <zboszor@gmail.com>
2024-01-18 18:09:53 -08:00
Jose Quaresma 1e848281ef layer.conf: Add libdevmapper-native PREFERRED_RPROVIDER
The libdevmapper recipe don't provide any package and is only
there to resolve circular dependencies [1].
We already have the libdevmapper PREFERRED_RPROVIDER but the native
it's missing.

Fixes:
| NOTE: Multiple providers are available for runtime libdevmapper-native (libdevmapper-native, lvm2-native)
| Consider defining a PREFERRED_RPROVIDER entry to match libdevmapper-native

[1] https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/lvm2?id=3f64779eae2d8312f569bee863f90ec4f8176e6c

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:40 -08:00
Alex Kiernan 30b37bb09e ptest-packagelists-meta-oe.inc Add c-ares to PTESTS_SLOW_META_OE
These take around 50s to run.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:46 -08:00
Xiangyu Chen 14c07e1b45 layer.conf: add libbpf to NON_MULTILIB_RECIPES
libbpf need line up with kernel architecture type,
so add it to NON_MULTILIB_RECIPES.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-20 11:12:59 -08:00
Khem Raj 41f16dc063 ptest-packagelists-meta-oe.inc: Move poco to slow tests
poco ptests take 7+ minutes on a kvm accelerated build system
so it should actually be part of slow test list

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-29 17:18:13 -08:00
Mingli Yu 33240e1783 ptest-packagelists-meta-oe.inc: Add nlohmann-json
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-10 09:13:40 -08:00
Chi Xu 92038e03ee re2: Add ptest support
Test results:
root@qemux86-64:~# ptest-runner re2 -t 7200
START: ptest-runner
2023-10-16T08:36
BEGIN: /usr/lib/re2/ptest
PASS: charclass_test
PASS: compile_test
PASS: filtered_re2_test
PASS: mimics_pcre_test
PASS: parse_test
PASS: possible_match_test
PASS: re2_test
PASS: re2_arg_test
PASS: regexp_test
PASS: required_prefix_test
PASS: search_test
PASS: set_test
PASS: simplify_test
PASS: string_generator_test
PASS: dfa_test
PASS: exhaustive1_test
PASS: exhaustive2_test
PASS: exhaustive3_test
PASS: exhaustive_test
PASS: random_test
DURATION: 2085
END: /usr/lib/re2/ptest
2023-10-16T09:11
STOP: ptest-runner
TOTAL: 1 FAIL: 0

And add re2 ptest to PTESTS_SLOW_META_OE.

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-17 21:42:56 -07:00
David Pierret 4079e92284 cjson: Add ptest
cjson use pure CMake test framework named CTest.
CMake generate CTestTestfile.cmake containing fully defined path.
This path need to be altered on install step to match the ptest directory.

The json_patch_tests doesn't works because of file access and is skip.

Signed-off-by: David Pierret <david.pierret@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-17 21:42:56 -07:00
Khem Raj b729ec1b11 ptest-packagelists-meta-oe: Add kernel-selftest to x86/x86-64 images
Test run for 10+ minutes so they belong to slow testset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-09 13:10:16 -07:00