Fix MQTT host test warnings and RAK report link
This commit is contained in:
1 parent
88bfaebb50
commit
a6d472ff9d
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
<!-- meshcore-hosted-doc-link:start -->
|
||||
<p class="meshcore-hosted-doc-link"><a href="https://mikecarper.github.io/MeshCore/test-results/rak_compact_crypto_2026-10-27/">View this page on MeshCore Docs</a>.</p>
|
||||
<!-- meshcore-hosted-doc-link:end -->
|
||||
|
||||
# RAK repeater flash and crypto timing, 27 October 2026
|
||||
|
||||
Selected: **compact scalar arithmetic with the existing fast field arithmetic**.
|
||||
|
||||
@@ -109,8 +109,10 @@ class MqttPayloadOomTests(unittest.TestCase):
|
||||
production = folder / "MQTTPayloadBuilder.cpp"
|
||||
production.write_text(source)
|
||||
flags = [] if os.name == "nt" else ["-fsanitize=address,undefined", "-fno-sanitize-recover=all", "-fno-pie", "-no-pie"]
|
||||
# Keep -Werror for our harness/firmware without promoting warnings
|
||||
# inside the pinned third-party ArduinoJson headers to failures.
|
||||
built = subprocess.run([compiler, "-std=c++17", "-O1", "-Wall", "-Wextra", "-Werror",
|
||||
"-DARDUINOJSON_POOL_CAPACITY=4", *flags, "-I" + str(header.parent),
|
||||
"-DARDUINOJSON_POOL_CAPACITY=4", *flags, "-isystem", str(header.parent),
|
||||
"-I" + str(ROOT / "src"), "-I" + str(ROOT / "src/helpers"),
|
||||
"-isystem", str(ROOT / "test/mocks"),
|
||||
str(harness), str(production), str(ROOT / "src/helpers/TxtDataHelpers.cpp"), "-o", str(binary)],
|
||||
|
||||
Reference in new issue
Block a user