[riot-notifications] [RIOT-OS/RIOT] Simplify kconfig murdock testing (#16487)

Leandro Lanzieri notifications at github.com
Mon Jun 21 10:34:03 CEST 2021


@leandrolanzieri commented on this pull request.



> @@ -102,13 +68,19 @@ RUN_TESTS=${RUN_TESTS:-${NIGHTLY}}
 DWQ_ENV="-E BOARDS -E APPS -E NIGHTLY -E RUN_TESTS -E ENABLE_TEST_CACHE
          -E TEST_HASH -E CI_PULL_LABELS"
 
-get_kconfig_test_apps() {
-    case "$1" in
-        "samr21-xpro") echo "${TEST_KCONFIG_samr21_xpro}" ;;
-    esac
-    case "$1" in
-        "native") echo "${TEST_KCONFIG_native}" ;;
-    esac
+get_supported_kconfig_board_app() {
+    local board=$1
+    local appdir=$2
+
+    if is_in_list "${board}" "${TEST_KCONFIG_BOARDS_AVAILABLE}"; then
+        if is_in_list "${board}" "${TEST_KCONFIG_ENFORCE_APP_GROUPS}"; then

```suggestion
        if is_in_list "${appdir}" "${TEST_KCONFIG_ENFORCE_APP_GROUPS}"; then
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16487#pullrequestreview-688165418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210621/59c1d78b/attachment.htm>


More information about the notifications mailing list