Skip to content

Ran the packet debug information test, which no build ever ran - #497

Merged
fdesbiens merged 1 commit into
devfrom
fix/packet-debug-info-test-gate
Oct 20, 2026
Merged

fdesbiens merged 1 commit into
devfrom
fix/packet-debug-info-test-gate

Conversation

@fdesbiens

Copy link
Copy Markdown
Contributor

Problem

netx_packet_debug_info_test is the only test of _nx_packet_debug_info_get, the routine an
application calls to read the debug record NX_ENABLE_PACKET_DEBUG_INFO keeps on each packet of a
pool. Its condition is

#if defined(NX_ENABLE_PACKET_DEBUG_INFO) && defined(__PRODUCT_NETXDUO__) && (__NETXDUO_MINOR_VERSION__ > 8) && !defined(NX_DISABLE_IPV4)

and __NETXDUO_MINOR_VERSION__ is 5 on dev, so the test reports N/A in every configuration,
including the four that enable NX_ENABLE_PACKET_DEBUG_INFO. No other file in the repository
calls _nx_packet_debug_info_get, so nothing tests it.

Measured on dev (3b3c8b30)

before, v4_build, v4_full_build, v6_full_build, v6_full_secure_build   N/A
after,  the same four                                                  passes

Change

The version term is removed, and the file takes the AI-assistance line under its header. The
test body does not change.

Test

Swept over all 43 configurations of test/cmake/netxduo, five runs each: 20 pass (the four
configurations above), 195 N/A, 0 fail, 0 build failures.

netx_packet_debug_info_test is the only test of _nx_packet_debug_info_get,
the routine an application calls to read the debug record of each packet
in a pool. Its condition required __NETXDUO_MINOR_VERSION__ to be greater
than 8, and NetX Duo's minor version is 5, so it reported N/A in every
build, including those that enable NX_ENABLE_PACKET_DEBUG_INFO. The
version term is removed and the test body is unchanged; it passes in
each build with packet debug information and IPv4.

Assisted-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
@fdesbiens
fdesbiens merged commit 1420d86 into dev Oct 20, 2026
22 checks passed
@fdesbiens
fdesbiens deleted the fix/packet-debug-info-test-gate branch October 20, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant