default or selected kernelversion does not have config value CONFIG_DEBUG_NX_TEST.
Result is shown for kernelversion 6.5.1

Testcase for the NX non-executable stack feature

modulename: test_nx.ko

configname: CONFIG_DEBUG_NX_TEST

Linux Kernel Configuration
└─>Kernel hacking
└─>Testcase for the NX non-executable stack feature
In linux kernel since version 2.6.25 (release Date: 2008-04-16)  
This option enables a testcase for the CPU NX capability
and the software setup of this feature.
If in doubt, say "N"

source code:
depends
CONFIG_DEBUG_KERNEL
CONFIG_MODULES