tests: ztest: move TEST_LOGGING_FLUSH_AFTER_TEST under ztest

This config option is only used with ztest, so move it under ztest.
Otherwise it appears in .config when you build ANY application.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-08-02 08:55:16 -04:00 committed by Carles Cufí
commit 51cb40e5b3
2 changed files with 5 additions and 5 deletions

View file

@ -87,11 +87,6 @@ config TEST_LOGGING_DEFAULTS
logging configuration, or no logging at all, disable this logging configuration, or no logging at all, disable this
in the project-level defconfig. in the project-level defconfig.
config TEST_LOGGING_FLUSH_AFTER_TEST
bool "When enabled logs are flushed after each test case"
default y
depends on MULTITHREADING
config TEST_ENABLE_USERSPACE config TEST_ENABLE_USERSPACE
bool bool
depends on TEST_USERSPACE depends on TEST_USERSPACE

View file

@ -124,6 +124,11 @@ endif #ZTEST_SHUFFLE
endif # ZTEST_NEW_API endif # ZTEST_NEW_API
config TEST_LOGGING_FLUSH_AFTER_TEST
bool "When enabled logs are flushed after each test case"
default y
depends on MULTITHREADING
endif # ZTEST endif # ZTEST
config ZTEST_MOCKING config ZTEST_MOCKING