2022-08-05 17:09:26 +08:00
|
|
|
# Copyright (c) 2022 Nordic Semiconductor
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Current the use of X86 is for consistency with old testsuite/ztest which
|
2024-08-13 23:02:07 +08:00
|
|
|
# defined CONFIG_X86 manually. To consider, is ARCH_POSIX a better choice?
|
2022-08-05 17:09:26 +08:00
|
|
|
config X86
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The unit_testing architecture identifies itself as X86 for basic
|
|
|
|
ztest and kernel support.
|
|
|
|
|
|
|
|
if CONSOLE
|
|
|
|
|
2023-05-23 23:04:00 +08:00
|
|
|
config POSIX_ARCH_CONSOLE
|
2022-08-05 17:09:26 +08:00
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select CONSOLE_HAS_DRIVER
|
|
|
|
help
|
|
|
|
The unit testing architecture is expected to always have access to a
|
|
|
|
standard terminal for printing.
|
|
|
|
|
|
|
|
endif # CONSOLE
|