Skip to contentSkip to conversation

trompeloeil: upgrade 47 -> 49

PATCH New Gyorgy Sarvari 1 participant 1 message Sep 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trompeloeil: upgrade 47 -> 49

Changelog:

v49: https://github.com/rollbear/trompeloeil/releases/tag/v49

Highlights:
- Added mocking macros that infers function arity from a trailing return type syntax signature.
- Added .RT_TIMES() to exceptations, which works like .TIMES() but where the limits are only known at runtime.
- Added several new composable matchers.
- When an expectation is constrained by several .WITH() clauses, a violation report will only include the first failed condition, short cirquiting the logic.

v48: https://github.com/rollbear/trompeloeil/releases/tag/v48

Highlights:
- Fixed memory leak when adding an action (.RETURN, .SIDE_EFFECT, etc) throws.
- Dropped older compilers from CI builds (gcc <= 6 and clang <= 7) since GitHub actions now require node-20, and no build environment is currently available that both supports node-20 and older compilers.
- Support for STDMETHOD functions for COM.
- Fixed issue with std::expected causing compilation error.
- Silenced gcc -Weffc++ warnings.

---
 .../trompeloeil/{trompeloeil_v47.bb => trompeloeil_v49.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-test/trompeloeil/{trompeloeil_v47.bb => trompeloeil_v49.bb} (83%)
meta-oe/recipes-test/trompeloeil/trompeloeil_v49.bb renamed from meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb +2 -2
similarity index 83%
rename from meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb
rename to meta-oe/recipes-test/trompeloeil/trompeloeil_v49.bb
index 3f2f07c28f..adb3237621 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://trompeloeil.github.io"
 LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
-SRC_URI = "git://github.com/rollbear/trompeloeil.git;branch=main;protocol=https"
-SRCREV = "ad9bc41b1e01ae92802de59a12d19cf7c8683d6d"
+SRC_URI = "git://github.com/rollbear/trompeloeil.git;branch=main;protocol=https;tag=${PV}"
+SRCREV = "eaeb89c1ce9d354b0ba7eb921fd5712cdbd78adf"
 
 
 inherit cmake