Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package criterion for openSUSE:Factory checked in at 2026-10-06 19:20:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/criterion (Old) and /work/SRC/openSUSE:Factory/.criterion.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "criterion" Tue Oct 6 19:20:12 2026 rev:6 rq:1382766 version:2.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/criterion/criterion.changes 2026-02-06 19:18:00.367460621 +0100 +++ /work/SRC/openSUSE:Factory/.criterion.new.3698736/criterion.changes 2026-10-06 19:20:23.130497714 +0200 @@ -1,0 +2,85 @@ +Tue Oct 6 11:49:05 UTC 2026 - Dirk Müller <[email protected]> + +- fix up descriptions + +------------------------------------------------------------------- +Mon Oct 5 08:33:38 UTC 2026 - Paolo Stivanin <[email protected]> + +- Update to 2.5.0: + * Addition: added --default-timeout CLI switch to set a fallback + timeout for tests that have no timeout set. Unlike --timeout, + which caps the timeout of every test, explicitly timed tests + are left untouched (Matéo LE FLEM). + * Addition: added --show-skipped CLI switch to show the number of + skipped tests in the synthesis line. + * Addition: Georgian translation (Ekaterine Papava) + * Breaking: ABI incompatibility with prior versions of criterion. + You must recompile your tests. + * Change: cr_get_redirected_stdout(), cr_get_redirected_stderr() + and cr_get_redirected_stdin() (and their C++ counterparts) now + return a stream owned by the caller, who is responsible for + closing it. Closing that stream no longer interferes with the + standard stream assertions. + * Change: the standard stream assertions (cr_assert_stdout_eq_str + and friends) now flush the stream before comparing its + contents, so tests no longer need to fflush() or disable + buffering beforehand. Each assertion consumes the output + written since the previous one. + * Fix: fixed crash when a standard stream assertion was used more + than once in a test, or when the test wrote to the stream after + asserting on it. + * Fix: standard stream assertions now fail with an explicit + message instead of hanging when the stream was never + redirected. + * Fix: fixed any() only passing when its last operand was true + (Ray Chern). + * Fix: fixed result propagation of nested assertion combinators, + and not() being ignored when applied to another combinator. + * Fix: sibling assertion combinators, like all(any(...), + any(...)), now compile. + * Fix: failing not() and none() operands were reported with "<no + difference -- this is a user bug in the object stringifier>" + instead of their values. Failing combinators now also print a + header line above their failing operands. + * Fix: assertion failures whose value diff is empty (because the + user stringifier produced the same output for different values) + now print the raw actual and expected values instead of a + generic message. + * Fix: fixed plain expressions in the new assertion API failing + when they evaluated to a non-zero value other than 1, like + cr_assert(flags & 4). + * Fix: plain expressions starting with an operator, a literal or + a cast can now be passed to the new assertion API by wrapping + them in an extra pair of parentheses, like cr_assert((!x)). + * Fix: fixed undefined behavior (null pointer arithmetic, + reported by UBSan) when computing the length of array type tags + in the new assertion API. + * Fix: fixed multiple definition errors when ReportHook was used + on the same line in different files, or several times in one + macro (Cade-Peterson). + * Fix: tests, suites, parameterized tests and report hooks are no + longer discarded by the linker when building with optimizations + or --gc-sections (Jerry James). + * Fix: the cleanup function of parameterized tests was called as + soon as the last test worker had been spawned rather than after + all workers exited, which crashed with --jobs > 1. + * Fix: skipped tests with an expected .signal or .exit_code are + no longer reported as failed. + * Fix: criterion::allocator no longer uses std::allocator, which + is deprecated in C++17 and removed in C++20. + * Fix: fixed SIGILL crashes on riscv64 (Felix Yan) + * Fix: support LoongArch architecture (Alexey Sheplyakov, Felix + Yan) + * Fix: support 39-bit address space (CHEN Xuan, Felix Yan) + * Fix: fixed various compiler warnings + * Misc: the build system now detects a system-wide klib + installation instead of always falling back to the wrap. + * Misc: replaced the discontinued Cirrus CI; FreeBSD, macOS + (x86-64) and Windows are tested on GitHub Actions again. + * Misc: fixed the extraction of translatable messages and updated + the German and French translations. + * Misc: various documentation fixes. + * Misc: various build system fixes. + * Misc: various updates to dependencies. + +------------------------------------------------------------------- Old: ---- criterion-2.4.3.tar.xz New: ---- criterion-2.5.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ criterion.spec ++++++ --- /var/tmp/diff_new_pack.7SluNA/_old 2026-10-06 19:20:23.824526853 +0200 +++ /var/tmp/diff_new_pack.7SluNA/_new 2026-10-06 19:20:23.829527063 +0200 @@ -17,10 +17,10 @@ %define _lto_cflags %{nil} -%define sover 3 +%define sover 4 Name: criterion -Version: 2.4.3 +Version: 2.5.0 Release: 0 Summary: A dead-simple, yet extensible, C and C++ unit testing framework License: MIT @@ -55,7 +55,7 @@ * Tests are automatically registered when declared. * Implements a xUnit framework structure. * A default entry point is provided, no need to declare a main unless you want to do special handling. -* Test are isolated in their own process, crashes and signals can be reported and tested. +* Tests are isolated in their own process, crashes and signals can be reported and tested. * Unified interface between C and C++: include the criterion header and it just works. * Supports parameterized tests and theories. * Progress and statistics can be followed in real time with report hooks. @@ -64,10 +64,9 @@ %package -n lib%{name}%{sover} Summary: Libraries needed to use Criterion -Requires: lib%{name}%{sover}-devel = %{version} %description -n lib%{name}%{sover} -This packages contains all the libraries needed to use Criterion. +This package contains all the libraries needed to use Criterion. %package -n lib%{name}-devel Summary: Devel files for Criterion @@ -100,8 +99,7 @@ %doc README.md AUTHORS ChangeLog CONTRIBUTING.md %files -n lib%{name}%{sover} -%{_libdir}/libcriterion.so.3 -%{_libdir}/libcriterion.so.3.2.0 +%{_libdir}/libcriterion.so.* %files -n lib%{name}-devel %dir %{_includedir}/criterion ++++++ criterion-2.4.3.tar.xz -> criterion-2.5.0.tar.xz ++++++ ++++++ fix-meson.patch ++++++ --- /var/tmp/diff_new_pack.7SluNA/_old 2026-10-06 19:20:23.928531220 +0200 +++ /var/tmp/diff_new_pack.7SluNA/_new 2026-10-06 19:20:23.934531471 +0200 @@ -1,24 +1,29 @@ ---- Criterion-2.4.2/meson.build.orig 2023-06-13 14:18:29.829743813 +0200 -+++ Criterion-2.4.2/meson.build 2023-06-13 15:13:15.672365040 +0200 -@@ -138,10 +138,6 @@ +diff -ru orig/meson.build mod/meson.build +--- orig/meson.build 2026-10-03 21:32:11.000000000 +0200 ++++ mod/meson.build 2026-10-05 10:49:50.086852529 +0200 +@@ -136,7 +136,14 @@ cmake = import('cmake') -debugbreak = dependency('debugbreak') -- --klib = dependency('klib') -- - threads = dependency('threads') - - nanomsg = dependency('nanomsg', required: get_option('wrap_mode') == 'nofallback') -@@ -177,23 +173,8 @@ ++# debugbreak is header-only ++debugbreak_fallback = (get_option('wrap_mode') == 'forcefallback' ++ or 'debugbreak' in get_option('force_fallback_for')) ++if not debugbreak_fallback and cc.has_header('debugbreak.h') ++ debugbreak = declare_dependency() ++else ++ debugbreak = dependency('debugbreak') ++endif + + # klib is header-only + klib_fallback = (get_option('wrap_mode') == 'forcefallback' +@@ -189,23 +196,7 @@ config.set('NN_REQREP_H', '<nanomsg/reqrep.h>') endif -nanopb = dependency('nanopb', required: get_option('wrap_mode') == 'nofallback', method: 'cmake', - modules: ['nanopb::protobuf-nanopb-static']) -+nanopb = dependency('nanopb', required: true, method: 'cmake', modules: ['nanopb::protobuf-nanopb']) - must_regenerate_pb = nanopb.found() +-must_regenerate_pb = nanopb.found() -if (not nanopb.found() - or get_option('wrap_mode') == 'forcefallback' - or 'nanopb' in get_option('force_fallback_for')) @@ -33,16 +38,34 @@ - nanopb_proj = cmake.subproject('nanopb-cmake', options: nanopb_opts) - nanopb = nanopb_proj.dependency('protobuf-nanopb-static') -endif ++nanopb = dependency('nanopb', required: true, method: 'cmake', modules: ['nanopb::protobuf-nanopb']) libgit2 = dependency('libgit2', required: get_option('wrap_mode') == 'nofallback') if ((not libgit2.found() and get_option('diffs').enabled()) -@@ -244,8 +225,6 @@ - endif +diff -ru orig/src/meson.build mod/src/meson.build +--- orig/src/meson.build 2026-10-03 21:32:11.000000000 +0200 ++++ mod/src/meson.build 2026-10-05 10:51:28.900315524 +0200 +@@ -55,21 +55,7 @@ + 'string/xxd.c', + ) + +-if must_regenerate_pb +- protoc = find_program('protoc') +- protoc_gen_nanopb = find_program('protoc-gen-nanopb') +- +- gen_pb_py = meson.current_source_dir() + '/protocol/gen-pb.py' +- +- gen_pb = custom_target('gen-pb', +- input : ['protocol/criterion.proto', 'protocol/criterion.options'], +- output : ['criterion.pb.c', 'criterion.pb.h'], +- command : [gen_pb_py, protoc.path(), protoc_gen_nanopb.path(), '@INPUT0@', '@INPUT1@', meson.current_build_dir()]) +- +- sources += gen_pb +-else +- sources += 'protocol/criterion.pb.c' +-endif ++sources += 'protocol/criterion.pb.c' - deps += [ -- debugbreak, -- klib, - threads, - boxfort, - libffi, + if get_option('diffs').enabled() + sources += files('string/diff.c')
