sys/test_utils: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-09-24 15:45:03 +02:00
parent 80274d7265
commit c1edcd9fd2
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
4 changed files with 41 additions and 0 deletions

View File

@ -11,6 +11,7 @@ rsource "net/Kconfig"
rsource "Kconfig.newlib"
rsource "Kconfig.stdio"
rsource "pm_layered/Kconfig"
rsource "test_utils/Kconfig"
rsource "usb/Kconfig"
config MODULE_SYS

13
sys/test_utils/Kconfig Normal file
View 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

View 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.

View 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