From 524495365468f2fbf5d4eca34942b11dbd870931 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sun, 16 Aug 2026 20:50:00 +0200 Subject: [PATCH] test: the README's cross-mode claim is now checked, not just stated The pin advances to the commit that gives consumers the gate's own image comparison, and the claim written into this README a few commits ago - 8380 B, byte-identical between the two modes - is registered against it. It compares clean over every loadable section. Co-Authored-By: Claude Opus 5 --- libavr | 2 +- test/CMakeLists.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libavr b/libavr index dc1e87d..43fc479 160000 --- a/libavr +++ b/libavr @@ -1 +1 @@ -Subproject commit dc1e87d86e8718c8d6d3b926dadfd5633995fdbf +Subproject commit 43fc4796c2670e522233bd95a982a688052b9cf3 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 030d360..03b99c5 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -4,6 +4,10 @@ libavr_format_test() # what it measures; a library advance that moves it says nothing on its own. libavr_size_claim_test(fantemp 8380) +# The README says the two modes emit the same image, and only a tree with +# both built can say whether they do. +libavr_mode_identity_test(fantemp) + # The battery is a compile: a static_assert that fails is the failure. It is a # target rather than only a ctest so a plain build catches a regression too. add_library(consteval_tests OBJECT consteval.cpp)