diff --git a/Kconfig.zephyr b/Kconfig.zephyr index e7b6ade16c5..b623b2892c0 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -27,6 +27,8 @@ osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc.defconfig" osource "soc/$(ARCH)/*/Kconfig.defconfig" # This loads the toolchain defconfigs osource "$(TOOLCHAIN_KCONFIG_DIR)/Kconfig.defconfig" +# This loads the testsuite defconfig +source "subsys/testsuite/Kconfig.defconfig" # This should be early since the autogen Kconfig.dts symbols may get # used by modules diff --git a/subsys/testsuite/Kconfig.defconfig b/subsys/testsuite/Kconfig.defconfig new file mode 100644 index 00000000000..429def054dd --- /dev/null +++ b/subsys/testsuite/Kconfig.defconfig @@ -0,0 +1,10 @@ +# Copyright (c) 2022 Nordic Semiconductor ASA +# SPDX-License-Identifier: Apache-2.0 + +if TEST + +choice RNG_GENERATOR_CHOICE + default XOSHIRO_RANDOM_GENERATOR if ZTRESS && ENTROPY_HAS_DRIVER +endchoice + +endif # TEST