79 Commits

Author SHA1 Message Date
Peter Marko 54934e0674 libpcre: move recipe from oe-core
This recipe was removed in oe-core as obsolete (replaced by libpcre2).
Since some recipes in meta-oe still depend on it, moe it here.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-20 23:41:48 -07:00
Zeming LIU ee3134d2e8 Add ptest support for googletest
Test result:
root@qemux86-64:~# ptest-runner googletest
START: ptest-runner
2026-06-08T02:33
BEGIN: /usr/lib/googletest/ptest
PASS: gmock-actions_test
PASS: gmock-cardinalities_test
PASS: gmock_ex_test
PASS: gmock-function-mocker_test
PASS: gmock-internal-utils_test
PASS: gmock-matchers-arithmetic_test
PASS: gmock-matchers-comparisons_test
PASS: gmock-matchers-containers_test
PASS: gmock-matchers-misc_test
PASS: gmock-more-actions_test
PASS: gmock-nice-strict_test
PASS: gmock-port_test
PASS: gmock-spec-builders_test
PASS: gmock_link_test
PASS: gmock_test
PASS: gmock_stress_test
PASS: gmock-more-actions_no_exception_test
PASS: gmock_no_rtti_test
PASS: googletest-death-test-test
PASS: gtest_environment_test
PASS: googletest-filepath-test
PASS: googletest-listener-test
PASS: gtest_main_unittest
PASS: googletest-message-test
PASS: gtest_no_test_unittest
PASS: googletest-options-test
PASS: googletest-param-test-test
PASS: googletest-port-test
PASS: gtest_pred_impl_unittest
PASS: gtest_premature_exit_test
PASS: googletest-printers-test
PASS: gtest_prod_test
PASS: gtest_repeat_test
PASS: gtest_sole_header_test
PASS: gtest_stress_test
PASS: googletest-test-part-test
PASS: gtest_throw_on_failure_ex_test
PASS: gtest-typed-test_test
PASS: gtest_unittest
PASS: gtest-unittest-api_test
PASS: gtest_skip_in_environment_setup_test
PASS: gtest_skip_test
PASS: gtest-death-test_ex_nocatch_test
PASS: gtest-death-test_ex_catch_test
PASS: gtest_no_rtti_unittest
PASS: googletest-break-on-failure-unittest
PASS: gtest_skip_check_output_test
PASS: gtest_skip_environment_check_output_test
PASS: googletest-catch-exceptions-test
PASS: googletest-color-test
PASS: googletest-env-var-test
PASS: googletest-filter-unittest
PASS: gtest_help_test
PASS: googletest-list-tests-unittest
PASS: googletest-output-test
PASS: googletest-shuffle-test
PASS: googletest-throw-on-failure-test
PASS: googletest-uninitialized-test
PASS: gtest_list_output_unittest
PASS: gtest_xml_outfiles_test
PASS: googletest-json-outfiles-test
PASS: gtest_xml_output_unittest
PASS: googletest-json-output-unittest
DURATION: 16
END: /usr/lib/googletest/ptest
2026-06-08T02:34
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Zeming LIU <zeming.liu@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-08 16:44:39 -07:00
Shilong Jiao 42dcb0197e lcms: add ptest support
Test results on qemux86-64:
START: ptest-runner
BEGIN: /usr/lib/lcms/ptest
PASS: Base types ...Ok.
PASS: quick floor ...Ok.
PASS: Fixed point 15.16 representation ...Ok.
PASS: D50 roundtrip ...Ok.
PASS: 1D interpolation in 2pt tables ...Ok.
PASS: 1D interpolation in 4pt tables ...Ok.
PASS: 1D interpolation in 18pt tables ...Ok.
PASS: 1D interpolation in descending 3pt tables ...Ok.
PASS: 1D interpolation in descending 18pt tables ...Ok.
PASS: 3D interpolation Trilinear (float)  ...Ok.
PASS: 3D interpolation Trilinear (16)  ...Ok.
PASS: Reverse interpolation 4 -> 3 ......Ok.
PASS: 3D interpolation with granularity ...Ok.
PASS: 4D interpolation with granularity ...Ok.
PASS: 6D interpolation with granularity ...Ok.
PASS: 8D interpolation with granularity ...Ok.
PASS: Lab to XYZ and back (float only)  ...Ok.
PASS: Lab V2 encoding ...Ok.
PASS: Blackbody radiator ...Ok.
PASS: Linear gamma curves (float) ....Ok.
PASS: Curve 2.2 (float) ...|Err|<0.001953 .Ok.
PASS: Curve 1.8 (table) ...|Err|<0.053287 .Ok.
PASS: Curve 3.0 (table) ...|Err|<0.049726 .Ok.
PASS: Curve 2.2 (word table) ...|Err|<0.972654 .Ok.
PASS: Parametric curves ...Ok.
PASS: Join curves descending ...Ok.
PASS: Join curves sRGB (Float) ...Ok.
PASS: Join curves sigmoidal ...Ok.
PASS: 1 Stage LUT  ...Ok.
PASS: 2 Stage LUT (16 bits) ...Ok.
PASS: 3 Stage LUT (16 bits) ...Ok.
PASS: 4 Stage LUT (16 bits) ...Ok.
PASS: 5 Stage LUT (16 bits)  ...Ok.
PASS: 6 Stage LUT (16 bits)  ...Ok.
PASS: XYZ to XYZ LUT (float only)  ...Ok.
PASS: Named Color LUT ...Ok.
PASS: Floating point formatters ...Ok.
PASS: ChangeBuffersFormat ...Ok.
PASS: Multilocalized Unicode (II) ...Ok.
PASS: Create named color profile ...Ok.
PASS: Header version ...Ok.
PASS: Error reporting on bad profiles ...Ok.
PASS: Curves only transforms .........Ok.
PASS: Encoded Lab->Lab transforms ...Ok.
PASS: Matrix-shaper transform (float) ...Ok.
PASS: Matrix-shaper transform (8 bits) ...Ok.
PASS: Known values across matrix-shaper ...Ok.
PASS: Gray Lab input profile ...Ok.
PASS: Gray Lab output profile ...Ok.
PASS: Matrix-shaper proofing transform (16 bits) ...Ok.
PASS: CMYK roundtrip on perceptual transform ...Ok.
PASS: Black ink only preservation ...Ok.
PASS: Deciding curve types ...Ok.
PASS: TAC detection ...Ok.
PASS: CGATS parser on junk ...Ok.
PASS: PostScript generator ...Ok.
PASS: MD5 digest ...Ok.
PASS: floating point tags on XYZ ...Ok.
PASS: Parametric curve on Rec709 ...Ok.
PASS: Floating Point segmented curve with short sampled segment ...Ok.
PASS: Check MetaTag ...Ok.
PASS: Set free a tag ...Ok.
PASS: Planar 8 optimization ...Ok.
PASS: Swap endian feature ...Ok.
PASS: Forged MPE profile ...Ok.
PASS: Empty MLUC ...Ok.
PASS: OkLab color space ...Ok.
PASS: centering of Lab16 ...Ok.
PASS: Unbounded mode w/ integer output ...Ok.
PASS: Bad CGATS file ...Ok.
PASS: Gamut check on floats ...Ok.
PASS: Context memory handling ...Ok.
PASS: Alarm codes context ...Ok.
PASS: 1D interpolation plugin ...Ok.
PASS: Parametric curve plugin ...Ok.
PASS: Tag type plugin ...Ok.
PASS: Optimization plugin ...Ok.
PASS: Full transform plugin ...Ok.
PASS: Double from float ...Ok.
DURATION: 10
END: /usr/lib/lcms/ptest
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Jiao Song <sjiao@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:34 -07:00
Zeming LIU ff9b399795 hunspell: add ptest support
Test results:
root@qemux86-64:~# ptest-runner hunspell
START: ptest-runner
2026-05-27T07:06
BEGIN: /usr/lib/hunspell/ptest
PASS: 1463589
PASS: 1463589_utf
PASS: 1592880
PASS: 1695964
PASS: 1706659
PASS: 1748408-1
PASS: 1748408-2
PASS: 1748408-3
PASS: 1748408-4
PASS: 1975530
PASS: 2970240
PASS: 2970242
PASS: 2999225
PASS: IJ
PASS: affixes
PASS: alias
PASS: alias2
PASS: alias3
PASS: allcaps
PASS: allcaps2
PASS: allcaps3
PASS: allcaps_utf
PASS: arabic
PASS: base
PASS: base_utf
PASS: break
PASS: breakdefault
PASS: breakoff
PASS: checkcompoundcase
PASS: checkcompoundcase2
PASS: checkcompoundcaseutf
PASS: checkcompounddup
PASS: checkcompoundpattern
PASS: checkcompoundpattern2
PASS: checkcompoundpattern3
PASS: checkcompoundpattern4
PASS: checkcompoundrep
PASS: checkcompoundrep2
PASS: checkcompoundtriple
PASS: checksharps
PASS: checksharpsutf
PASS: circumfix
PASS: colons_in_words
PASS: complexprefixes
PASS: complexprefixes2
PASS: complexprefixesutf
PASS: compound_wnum_overflow
PASS: compoundaffix
PASS: compoundaffix2
PASS: compoundaffix3
PASS: compoundflag
PASS: compoundforbid
PASS: compoundrule
PASS: compoundrule2
PASS: compoundrule3
PASS: compoundrule4
PASS: compoundrule5
PASS: compoundrule6
PASS: compoundrule7
PASS: compoundrule8
PASS: condition
PASS: condition_utf
PASS: conditionalprefix
PASS: digits_in_words
PASS: dotless_i
PASS: encoding
PASS: flag
PASS: flaglong
PASS: flagnum
PASS: flagutf8
PASS: fogemorpheme
PASS: forbiddenword
PASS: forceucase
PASS: fullstrip
PASS: germancompounding
PASS: germancompoundingold
PASS: gh-hunzip-overflow
PASS: gh1002
PASS: gh1018
PASS: gh1032
PASS: gh1044
PASS: gh1058
PASS: gh1076
PASS: gh1086
PASS: gh1095
PASS: gh646
PASS: hu
PASS: i35725
PASS: i53643
PASS: i54633
PASS: i54980
PASS: i58202
PASS: i68568
PASS: i68568utf
PASS: iconv
PASS: iconv2
PASS: iconv_break_overflow
PASS: ignore
PASS: ignoresug
PASS: ignoreutf
PASS: keepcase
PASS: korean
PASS: limit-multiple-compounding
PASS: map
PASS: maputf
PASS: morph
PASS: needaffix
PASS: needaffix2
PASS: needaffix3
PASS: needaffix4
PASS: needaffix5
PASS: nepali
PASS: ngram_utf_fix
PASS: nosuggest
PASS: oconv
PASS: oconv2
PASS: ofz51432
PASS: ofz5627151457255424
PASS: onlyincompound
PASS: onlyincompound2
PASS: opentaal_cpdpat
PASS: opentaal_cpdpat2
PASS: opentaal_forbiddenword1
PASS: opentaal_forbiddenword2
PASS: opentaal_keepcase
PASS: ph
PASS: ph2
PASS: phone
PASS: rep
PASS: reputf
PASS: right_to_left_mark
PASS: simplifiedtriple
PASS: slash
PASS: sug
PASS: sug2
PASS: sugutf
PASS: timelimit
PASS: utf8
PASS: utf8_bom
PASS: utf8_bom2
PASS: utfcompound
PASS: warn
PASS: wordpair
PASS: zeroaffix
DURATION: 5
END: /usr/lib/hunspell/ptest
2026-05-27T07:06
STOP: ptest-runner

Signed-off-by: Zeming LIU <zeming.liu@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-31 03:08:56 -07:00
sjiao f90ccad49a openjpeg: add ptest support
Add ptest support to enable runtime testing of openjpeg library.
Only unit tests are included, excluding tests that require external
data files (NR-/CONF-/ETS-/testjp2).

Tested on intel-x86-64: all 29 unit tests passed.

Signed-off-by: sjiao <Shilong.Jiao@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-21 07:31:01 -07:00
Zeming LIU 15d5785d28 tbb: add ptest support
Test result:
root@qemux86-64:/usr/lib/tbb/ptest# ptest-runner tbb
START: ptest-runner
2026-04-23T01:21
BEGIN: /usr/lib/tbb/ptest
PASS: test_tick_count
PASS: test_allocators
PASS: test_arena_priorities
PASS: test_dynamic_link
PASS: test_collaborative_call_once
PASS: test_concurrent_lru_cache
PASS: test_concurrent_unordered_map
PASS: test_concurrent_unordered_set
PASS: test_concurrent_map
PASS: test_concurrent_set
PASS: test_concurrent_priority_queue
PASS: test_partitioner
PASS: test_parallel_for
PASS: test_parallel_for_each
PASS: test_parallel_reduce
PASS: test_parallel_sort
PASS: test_parallel_invoke
PASS: test_parallel_scan
PASS: test_parallel_pipeline
PASS: test_eh_algorithms
PASS: test_blocked_range
PASS: test_concurrent_vector
PASS: test_task_group
PASS: test_concurrent_hash_map
PASS: test_task_arena
PASS: test_parallel_phase
PASS: test_enumerable_thread_specific
PASS: test_concurrent_queue
PASS: test_resumable_tasks
PASS: test_mutex
PASS: test_function_node
PASS: test_multifunction_node
PASS: test_broadcast_node
PASS: test_buffer_node
PASS: test_composite_node
PASS: test_continue_node
PASS: test_eh_flow_graph
PASS: test_flow_graph
PASS: test_flow_graph_priorities
PASS: test_flow_graph_whitebox
PASS: test_indexer_node
PASS: test_join_node
PASS: test_join_node_key_matching
PASS: test_join_node_key_matching_n_args
PASS: test_join_node_msg_key_matching
PASS: test_join_node_msg_key_matching_n_args
PASS: test_join_node_preview
PASS: test_limiter_node
PASS: test_priority_queue_node
PASS: test_queue_node
PASS: test_sequencer_node
PASS: test_split_node
PASS: test_tagged_msg
PASS: test_overwrite_node
PASS: test_write_once_node
PASS: test_async_node
PASS: test_input_node
PASS: test_profiling
PASS: test_concurrent_queue_whitebox
PASS: test_intrusive_list
PASS: test_semaphore
PASS: test_environment_whitebox
PASS: test_hw_concurrency
PASS: test_eh_thread
PASS: test_tbb_version
PASS: test_global_control
PASS: test_task
PASS: test_concurrent_monitor
PASS: test_scheduler_mix
PASS: test_handle_perror
PASS: test_arena_constraints
PASS: test_tbbbind
PASS: test_tbb_fork
PASS: test_tbb_header
PASS: test_openmp
PASS: conformance_tick_count
PASS: conformance_allocators
PASS: conformance_mutex
PASS: conformance_task_group
PASS: conformance_task_group_context
PASS: conformance_task_arena
PASS: conformance_collaborative_call_once
PASS: conformance_concurrent_lru_cache
PASS: conformance_concurrent_unordered_map
PASS: conformance_concurrent_unordered_set
PASS: conformance_concurrent_map
PASS: conformance_concurrent_set
PASS: conformance_concurrent_priority_queue
PASS: conformance_parallel_for
PASS: conformance_parallel_for_each
PASS: conformance_parallel_reduce
PASS: conformance_parallel_scan
PASS: conformance_parallel_sort
PASS: conformance_parallel_pipeline
PASS: conformance_parallel_invoke
PASS: conformance_blocked_range
PASS: conformance_blocked_range2d
PASS: conformance_blocked_range3d
PASS: conformance_blocked_nd_range
PASS: conformance_concurrent_vector
PASS: conformance_global_control
PASS: conformance_concurrent_hash_map
PASS: conformance_enumerable_thread_specific
PASS: conformance_combinable
PASS: conformance_concurrent_queue
PASS: conformance_resumable_tasks
PASS: conformance_version
PASS: conformance_function_node
PASS: conformance_multifunction_node
PASS: conformance_input_node
PASS: conformance_continue_node
PASS: conformance_async_node
PASS: conformance_overwrite_node
PASS: conformance_write_once_node
PASS: conformance_buffer_node
PASS: conformance_queue_node
PASS: conformance_priority_queue_node
PASS: conformance_sequencer_node
PASS: conformance_limiter_node
PASS: conformance_broadcast_node
PASS: conformance_composite_node
PASS: conformance_indexer_node
PASS: conformance_split_node
PASS: conformance_join_node
PASS: conformance_graph
PASS: conformance_arena_constraints
PASS: test_scalable_allocator
PASS: test_malloc_pools
PASS: test_malloc_init_shutdown
PASS: test_malloc_regression
PASS: test_malloc_shutdown_hang
PASS: test_malloc_compliance
PASS: test_malloc_used_by_lib
PASS: test_malloc_lib_unload
PASS: test_malloc_pure_c
PASS: test_malloc_whitebox
PASS: test_malloc_atexit
PASS: test_malloc_overload
PASS: test_malloc_overload_disable
PASS: test_malloc_new_handler
DURATION: 153
END: /usr/lib/tbb/ptest
2026-04-23T01:23
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Note:
The test will fail/timeout if executed on qemu target without kvm enabled.

Signed-off-by: Zeming LIU <zeming.liu@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-23 07:54:07 -07:00
Khem Raj d7386465ee xrdp: Guard ptests with x11 distro feature
xrdp only builds when x11 is enabled, make it consistent

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-16 12:21:08 -07:00
Zeming LIU f23c00b163 jsoncpp: add ptest support
Add ptest support for jsoncpp to enable automated testing of the
JSON C++ library functionality.

Note:
- Tested on: WRLinux master-wr (based on meta-openembedded master)
- jsoncpp version: 1.9.7
- Unable to test on pure upstream due to poky/meta-oe branch mismatch

Test Result:
root@qemux86-64:~# ptest-runner jsoncpp
START: ptest-runner
2026-04-15T14:04
BEGIN: /usr/lib64/jsoncpp/ptest
PASS: jsoncpp_readerwriter
PASS: jsoncpp_readerwriter_json_checker
PASS: jsoncpp_test
DURATION: 122
END: /usr/lib64/jsoncpp/ptest
2026-04-15T14:06
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Zeming LIU <zeming.liu@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-15 22:45:58 -07:00
Gyorgy Sarvari bc788c6649 xdg-dbus-proxy: upgrade 0.1.6 -> 0.1.7
Contains fix for CVE-2026-34080. Since it is tracked without version info
by NVD, mark it explicitily as patched.

Drop the patch that is included in this release.

While here, also add the recipe to the ptest list - it's a fast one,
runs under a second.

Changelog:
- Drop the autotools build system
- Unbreak the CI
- Prevent a crash on disconnect
- Fix building with glibc >= 2.43
- Fix the eavesdrop filtering to prevent message interception

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-14 02:16:51 -07:00
Khem Raj d3df624668 ptest-packagelists-meta-oe: Remove protobuf and xmlsec1
These tests are disabled in recipe, re-add them here once that is fixed

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Cc: Ross Burton <ross.burton@arm.com>
2026-03-27 09:09:05 -07:00
Guocai He 4fe575d155 postgresql: add ptest support
Add ptest infrastructure to run the PostgreSQL standard regression test
suite (pg_regress) on the target system.

Test logs:
root@qemux86-64:~# ptest-runner postgresql
START: ptest-runner
2026-03-24T02:42
BEGIN: /usr/lib64/postgresql/ptest
.....
**if all pass **
PASS: - event_trigger_login                      1901 ms
PASS: - fast_default                             9459 ms
PASS: - tablespace                              16542 ms
PASS: all tests passed

**if have fail**
FAIL: create_type                              1763 ms
PASS: create_schema                            2123 ms
PASS: - tablespace                              23226 ms
FAIL: some tests failed

waiting for server to shut down.... done
server stopped
DURATION: 853
END: /usr/lib64/postgresql/ptest
2026-03-24T02:56
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-24 09:13:49 -07:00
Jörg Sommer e3361a6687 conserver: Add recipe for remote console server
The patches are required to build with detached build directory and
cross-compiling.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-20 09:51:44 -07:00
Gyorgy Sarvari 7c65b0bccb freerdp: add ptest support
The test suite takes about 50s to execute.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2026-01-22T12:58
BEGIN: /usr/lib/freerdp/ptest
PASS: TestClient TestClientRdpFile
PASS: TestClient TestClientChannels
PASS: TestClient TestClientCmdLine
[...many lines...]
PASS: TestWtsApi TestWtsApiSessionNotification
PASS: TestWtsApi TestWtsApiShutdownSystem
PASS: TestWtsApi TestWtsApiWaitSystemEvent
DURATION: 48
END: /usr/lib/freerdp/ptest
2026-01-22T12:59
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-22 22:01:05 -08:00
Khem Raj 0a5a41e49e botan: Remove ptests execution on rv32
It needs go compiler and runtime which is missing on rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-31 08:28:50 -08:00
Gyorgy Sarvari 199a6a2266 freerdp3: add ptest support
The execution takes under 10s.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-23T11:36
BEGIN: /usr/lib/freerdp3/ptest
PASS: TestSynchInit
PASS: TestSynchEvent
PASS: TestSynchMutex
[...many lines...]
PASS: TestClientRdpFile
PASS: TestClientChannels
PASS: TestClientCmdLine
DURATION: 7
END: /usr/lib/freerdp3/ptest
2025-12-23T11:37
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-24 13:19:13 -08:00
Gyorgy Sarvari 2ef5be2471 ptest-packagelist.inc: sort packages alphabetically
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-22 18:20:59 -08:00
Gyorgy Sarvari ae5a3b889d uriparser: add ptest support
It takes about a second to execute.

The test suite is covered by a different license (lgpl 2.1+) than the
main recipe (3-clause bsd).

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-22T19:34
BEGIN: /usr/lib/uriparser/ptest
[==========] Running 407 tests from 35 test suites.
[----------] Global test environment set-up.
[----------] 14 tests from CopyUriSuite
PASS:  CopyUriSuite.ErrorSourceUriNull
PASS:  CopyUriSuite.ErrorDestUriNull
[...many lines...]
PASS:  SetUserInfo.UriWithoutHostNonNullRejected
[----------] 2 tests from VersionSuite
PASS:  VersionSuite.EnsureVersionDefinesInSync
PASS:  VersionSuite.EnsureRuntimeVersionAsExpected
[----------] Global test environment tear-down
[==========] 407 tests from 35 test suites ran.
[  PASSED  ] 407 tests.
DURATION: 1
END: /usr/lib/uriparser/ptest
2025-12-22T19:34
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-22 18:20:58 -08:00
Gyorgy Sarvari 88ebc14186 botan: add ptest support
The test suite takes just around 30s to execute.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-15T19:02
BEGIN: /usr/lib/botan/ptest
PASS: AES-128/CCM(10,2)
PASS: AES-128/CCM(12,2)
PASS: AES-128/CCM(14,2)
PASS: AES-128/CCM(16,2)
PASS: AES-128/CCM(16,3)
PASS: AES-128/CCM(16,4)
[...lots of lines...]
PASS: XMSS/SHAKE_16_512 verify invalid signature
PASS: XMSS/SHAKE_20_256 verify invalid signature
PASS: XMSS/SHAKE_20_512 verify invalid signature
PASS: ZFEC encoding/decoding
Tests complete ran 3375688 tests in 28.38 sec all tests ok
DURATION: 29
END: /usr/lib/botan/ptest
2025-12-15T19:02
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Tested also by forcing some tests to fail, which was also displayed correctly.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-16 19:57:33 -08:00
Gyorgy Sarvari 54ca51b6c6 xrdp: add ptest support
It takes under 10 seconds to run the suite.
Executed succesfully on x86-64, with musl and glibc.

The recipe requires pam DISTRO_FEATURE to be present.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-29 08:32:24 -08:00
Gyorgy Sarvari 05230420ab dbus-broker: add ptest support
It takes less than 30 seconds to execute.

Add a backported patch that fixes a broken test.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-28 13:44:01 -08:00
Gyorgy Sarvari 35bc4860f1 exiv2: add ptest support
The project has extensive runtime- and unittest suite - make use of it.

It takes around 10 seconds to run both suites.

Added two patches:
One is needed to convert python unittest output into automake output.

The other is required to be able to configure test data folder at
compile time - otherwise the tests are looking for the test-data
with absolute paths from the build machine.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-23 09:05:41 -08:00
Gyorgy Sarvari 940c916c74 mariadb: skip failing test on musl
There is a timezone related ptest that fails using musl-libc.
This has been reported to the mariadb developers[1], who came up with
the backported patch that's the subject of this change.

This patch skips the timezone related tests with musl, in case the
testcase uses a timezone that behaves differently with musl than on
other platforms.

[1]: https://jira.mariadb.org/browse/MDEV-38029

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-19 12:01:14 -08:00
Ankur Tyagi a16c3b3c6b libplist: add ptest support
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-19 09:41:30 -08:00
Gyorgy Sarvari 85ded08df0 audiofile: add ptest support
It's under 15 seconds to execute it.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-14 07:36:55 -08:00
Gyorgy Sarvari d4e75e2bbd mariadb: move from PTESTS_PROBLEMS list to PTESTS_SLOW
The tests are executing and passing fine using glibc.
It takes a bit more than 5 minutes to run them.

When using musl, the timezone tests fail due to the different ways
glibc and musl handle posix timezones. It have been reported
upstream: https://jira.mariadb.org/browse/MDEV-38029

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-06 16:00:52 -08:00
AshishKumar Mishra 96b97c0c64 imagemagick: adds ptest for imagemagick
The logic used is :
- We check if the required tools are present or not
- We used magick to create an raw RGB file
- The created RGB is then converted to PNG using convert
- We re-gerenate RGB from PNG and compare the original and re-generated RGB
- Enabled the ptest in ptest-packagelists-meta-oe.inc as
  suggested by Gyorgy Sarvari and incorporated logging suggestion
- This was done as standard imagemagick test like drawtest requires manual
  internetion to verify the file

Signed-off-by: AshishKumar Mishra <ashishkumar.mishra@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-06 16:00:52 -08:00
Gyorgy Sarvari 008d12edde mbedtls: upgrade 3.6.4 -> 3.6.5
Contains fixes for CVE-2025-54764 and CVE-2025-59438

Also, add the recipe to the ptest image list, because it was missing.
Ptests passed successfully.

Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.5

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-04 16:52:47 -08:00
Gyorgy Sarvari 1b1efe5db7 libdbi-perl: from from PTESTS_PROBLEMS list to PTESTS_FAST
The tests are supposed to work now - they were not moved to the correct
ptest list with the last update.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-02 14:45:19 -08:00
Gyorgy Sarvari f955474be2 cli11: add ptest support
The tests take single digit seconds to execute.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-17 08:32:03 -07:00
Peter Marko fd609bef6d utf8proc: add new recipe with ptest
It is needed for poco 1.14+
Ptest runs for less than a second.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 18:11:00 -07:00
Yoann Congal bf400cd73f reproducibility: move known non-repro list to layer.conf
The current include file that stores the known non-reproducible packages
is layer dependent and that forces the user of the layers to maintain
the list of the files (for example, see AB config[0]).

By moving the exclude list to each layer.conf and extending the common
OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES variable, the known non-reproducible
packages will be automatically excluded for each layer used in the
reproducibility test without any special knowledge in the test
environment.

NB: the empty list for meta-initramfs was just removed not moved.

[0]: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json?id=7d8933e75bdf7fb821a25617cb2dcabf1f3f8700#n322

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Co-Developed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-20 10:34:11 -07:00
Kéléfa Sané df7e1b55d5 crash: fix reproducibility
Fix reproducibility issue by retrieving the compiler version from the CC
env variable, which define the compiler used in the build and not from
the native gcc compiler install in the host machine.

Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-27 10:33:01 -07:00
Yoann Congal e1fc0ed62e reproducibility: mark libbotan as known non-reproducible
libbotan packages are not reproducible.

Quick analysis: A path in /usr/lib/libbotan-3.so.7.7.1 changes:
-/etc/ssl/ca-bundle.pem
+/etc/ssl/certs/ca-certificates.crt
Look like the trusted TLS CA store full path. This path most likely
changes depending on host OS.

Relevant logs:
- https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/42/steps/32/logs/stdio
- https://valkyrie.yocto.io/pub/repro-fail-openembedded/meta-oe/oe-reproducible-20250426-pazz3nt5/packages/diff-html/#reproducibleA-tmp---reproducibleA-tmp-deploy---reproducibleA-tmp-deploy-deb---reproducibleA-tmp-deploy-deb-core-------reproducibleA-tmp-deploy-deb-core-----libbotan----_-.-.--r-_amd--.deb

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-01 18:31:02 -07:00
Yoann Congal d9a6049cc8 reproducibility: mark apitrace as known non-reproducible
apitrace packages are not reproducible.

Quick analysis: A string changes in /usr/bin/apitrace
-/srv/pokybuild/yocto-worker/meta-oe/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/bin/python3
+/srv/pokybuild/buildbot-venv/bin/python3
Looks like the full path of the python3 interpreter which changes from
hosts to hosts.

Relevant logs:
- https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/42/steps/32/logs/stdio
- https://valkyrie.yocto.io/pub/repro-fail-openembedded/meta-oe/oe-reproducible-20250426-pazz3nt5/packages/diff-html/#reproducibleA-tmp---reproducibleA-tmp-deploy---reproducibleA-tmp-deploy-deb---reproducibleA-tmp-deploy-deb-core-------reproducibleA-tmp-deploy-deb-core-----apitrace_--.----.--git------fc--bb-r-_amd--.deb

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-01 18:31:02 -07:00
Yoann Congal c9da3eb68a reproducibility: mark libsource-highlight as known non-reproducible
libsource-highlight packages are not reproducible.

Quick analysis: A path in a generated file changes:
/usr/include/srchilite/langdefparser.h:
-#line·95·"../../../git/lib/srchilite/langdefparser.yy"
+#line·95·"../../../lib/srchilite/langdefparser.yy"

Relevant logs:
- https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/41/steps/32/logs/stdio
- https://valkyrie.yocto.io/pub/repro-fail-openembedded/meta-oe/oe-reproducible-20250419-ye3feamr/packages/diff-html/

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-01 18:31:01 -07:00
Yoann Congal e08ffebc34 reproducibility: mark ipmiutil as known non-reproducible
ipmiutil packages are not reproducible.

Quick analysis: Depending whether build host OS is Debian or not, some
files are present or not in packages. (e.g /usr/lib/libipmiutil.so.1 and
others)

Relevant logs:
- https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/42/steps/32/logs/stdio
- https://valkyrie.yocto.io/pub/repro-fail-openembedded/meta-oe/oe-reproducible-20250426-pazz3nt5/packages/diff-html/#reproducibleA-tmp---reproducibleA-tmp-deploy---reproducibleA-tmp-deploy-deb---reproducibleA-tmp-deploy-deb-core-------reproducibleA-tmp-deploy-deb-core-----ipmiutil-dbg_-.-.--r-_amd--.deb

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-01 18:31:01 -07:00
Kéléfa Sané 6a4170ef09 reproducilibility: remove cjson-ptest package from non reproducible list
The reproducibility issue has been fixed by the commit "cjson: fix
buildpath warnings (0cc7315408)"
which replace the build path present in files:
- CTestTestfile.cmake
- tests/CTestTestfile.cmake
- fuzzing/CTestTestfile.cmake

by PTEST_PATH (/usr/lib/cjson/ptest).

Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-24 00:13:49 -07:00
Kéléfa Sané a23f229207 Reproducilibility: Remove boinc-client-dev package from non reproducible list
Last modification on boinc-client recipe (see commit "boinc-client: Fix
contains reference to TMPDIR [buildpaths] warning"
3e38af7e8b) fix the repoducibility issue,
with a do_install:append task which remove the build path present in the
header source file svn_version.h.

Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
Khem Raj 90383092e1 meta-oe: Move tests out or into problematic test lists
This is based on current results

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-12 10:06:23 -07: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
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
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
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
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