sys/test_utils: add modules to Kconfig
This commit is contained in:
parent
80274d7265
commit
c1edcd9fd2
@ -11,6 +11,7 @@ rsource "net/Kconfig"
|
|||||||
rsource "Kconfig.newlib"
|
rsource "Kconfig.newlib"
|
||||||
rsource "Kconfig.stdio"
|
rsource "Kconfig.stdio"
|
||||||
rsource "pm_layered/Kconfig"
|
rsource "pm_layered/Kconfig"
|
||||||
|
rsource "test_utils/Kconfig"
|
||||||
rsource "usb/Kconfig"
|
rsource "usb/Kconfig"
|
||||||
|
|
||||||
config MODULE_SYS
|
config MODULE_SYS
|
||||||
|
|||||||
13
sys/test_utils/Kconfig
Normal file
13
sys/test_utils/Kconfig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2020 HAW Hamburg
|
||||||
|
#
|
||||||
|
# This file is subject to the terms and conditions of the GNU Lesser
|
||||||
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
|
# directory for more details.
|
||||||
|
#
|
||||||
|
|
||||||
|
menu "Test utilities"
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
|
rsource "dummy_thread/Kconfig"
|
||||||
|
rsource "interactive_sync/Kconfig"
|
||||||
|
endmenu # Test utilities
|
||||||
12
sys/test_utils/dummy_thread/Kconfig
Normal file
12
sys/test_utils/dummy_thread/Kconfig
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright (c) 2020 HAW Hamburg
|
||||||
|
#
|
||||||
|
# This file is subject to the terms and conditions of the GNU Lesser
|
||||||
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
|
# directory for more details.
|
||||||
|
#
|
||||||
|
|
||||||
|
config MODULE_DUMMY_THREAD
|
||||||
|
bool "Dummy thread"
|
||||||
|
help
|
||||||
|
This module can be used to mess up the number of threads a bit, e.g.,
|
||||||
|
for testing test scripts.
|
||||||
15
sys/test_utils/interactive_sync/Kconfig
Normal file
15
sys/test_utils/interactive_sync/Kconfig
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright (c) 2020 HAW Hamburg
|
||||||
|
#
|
||||||
|
# This file is subject to the terms and conditions of the GNU Lesser
|
||||||
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
|
# directory for more details.
|
||||||
|
#
|
||||||
|
|
||||||
|
config MODULE_TEST_UTILS_INTERACTIVE_SYNC
|
||||||
|
bool "Interactive synchronization"
|
||||||
|
select MODULE_STDIN
|
||||||
|
|
||||||
|
config MODULE_TEST_UTILS_INTERACTIVE_SYNC_SHELL
|
||||||
|
bool "Use the shell to synchronize"
|
||||||
|
depends on MODULE_TEST_UTILS_INTERACTIVE_SYNC
|
||||||
|
default y if MODULE_SHELL
|
||||||
Loading…
x
Reference in New Issue
Block a user