Skip to content

Commit

Permalink
sys/result_output: Add kconfig options
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Feb 11, 2021
1 parent 108a57b commit 887e4e2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys/test_utils/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ menu "Test utilities"

rsource "dummy_thread/Kconfig"
rsource "interactive_sync/Kconfig"
rsource "result_output/Kconfig"
endmenu # Test utilities
37 changes: 37 additions & 0 deletions sys/test_utils/result_output/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright (c) 2021 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.
#


choice
bool "Test utils result output"
optional

config MODULE_TEST_UTILS_RESULT_OUTPUT_TXT
bool "Text"
select MODULE_FMT
select MODULE_TEST_UTILS_RESULT_OUTPUT

config MODULE_TEST_UTILS_RESULT_OUTPUT_JSON
bool "JSON"
select MODULE_FMT
select MODULE_TEST_UTILS_RESULT_OUTPUT

config MODULE_TEST_UTILS_RESULT_OUTPUT_LED
bool "LED"
depends on HAS_PERIPH_GPIO
depends on USEPKG_UMORSE
select MODULE_TEST_UTILS_RESULT_OUTPUT

config MODULE_TEST_UTILS_RESULT_OUTPUT_CHECK
bool "Check"
select MODULE_TEST_UTILS_RESULT_OUTPUT

endchoice

config MODULE_TEST_UTILS_RESULT_OUTPUT
bool

0 comments on commit 887e4e2

Please sign in to comment.