test(native): fix duplicate AdvertDataHelpers after upstream test

Upstream test_empty_contact_slots #includes helpers/AdvertDataHelpers.cpp
itself, while our native envs also compiled it via build_src_filter, so the
native test binary failed to link (multiple definition) and upstream-sync
stopped pushing since 2026-10-27. Drop it from the filter and include it in
test_battery_icon the same way upstream tests do.

native_asan skips test_empty_contact_slots: it is the first test to run
ed25519 on the host and UBSan stops on the ref10 left-shift idiom in
lib/ed25519/fe.c, not on our code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-10-28 20:34:24 +01:00
1 parent ec8e6bcdda
commit 5a8c32f69b
2 files changed
+10 -3

No files matched your search

@@ -2,6 +2,9 @@
#include <helpers/BatteryIcon.h>
#include <helpers/AdvertDataHelpers.h>
// Zdroják se vkládá jako v upstream testech (test_empty_contact_slots), ne přes
// build_src_filter -- jinak by ho test, který si ho vloží sám, měl dvakrát.
#include "helpers/AdvertDataHelpers.cpp"
#include <string.h>
#include <string>