.murdock: remove unneeded board name conversion

This commit is contained in:
Leandro Lanzieri 2020-11-16 10:02:29 +01:00
parent 1ff2a8c2a7
commit 3d3d22c2fb
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

View File

@ -2,7 +2,6 @@
: ${TEST_BOARDS_AVAILABLE:="esp32-wroom-32 samr21-xpro"} : ${TEST_BOARDS_AVAILABLE:="esp32-wroom-32 samr21-xpro"}
: ${TEST_BOARDS_LLVM_COMPILE:="iotlab-m3 native nrf52dk mulle nucleo-f401re samr21-xpro slstk3402a"} : ${TEST_BOARDS_LLVM_COMPILE:="iotlab-m3 native nrf52dk mulle nucleo-f401re samr21-xpro slstk3402a"}
# we can't use '-' in the variable names, convert them to '_' to add new boards
: ${TEST_KCONFIG_samr21_xpro:="examples/hello-world tests/periph_*"} : ${TEST_KCONFIG_samr21_xpro:="examples/hello-world tests/periph_*"}
export RIOT_CI_BUILD=1 export RIOT_CI_BUILD=1
@ -37,7 +36,7 @@ DWQ_ENV="-E BOARDS -E APPS -E NIGHTLY -E RUN_TESTS -E ENABLE_TEST_CACHE
get_kconfig_test_apps() { get_kconfig_test_apps() {
case "$1" in case "$1" in
"samr21_xpro") echo "${TEST_KCONFIG_samr21_xpro}" ;; "samr21-xpro") echo "${TEST_KCONFIG_samr21_xpro}" ;;
esac esac
} }
@ -245,12 +244,9 @@ compile() {
# list of board-application tuples that are currently modeled to # list of board-application tuples that are currently modeled to
# run with Kconfig # run with Kconfig
# we can't use '-' in variable names
_board=$(echo ${board} | tr '-' '_')
should_check_kconfig_hash=0 should_check_kconfig_hash=0
for app in $(get_kconfig_test_apps "${_board}") for app in $(get_kconfig_test_apps "${board}")
do do
if [ "${appdir}" = "${app}" ]; then if [ "${appdir}" = "${app}" ]; then
should_check_kconfig_hash=1 should_check_kconfig_hash=1