[riot-notifications] [RIOT-OS/RIOT] make: add capability to check config for `test-with-config` (#16795)

Karl Fessel notifications at github.com
Sat Sep 4 16:25:08 CEST 2021


@kfessel commented on this pull request.



>  	$(Q) for t in $(TESTS_WITH_CONFIG); do \
 		$$t || exit 1; \
 	done
 
-test-with-config/available:
-	$(Q)test -n "$(strip $(TESTS_WITH_CONFIG))"
+# run the automatic configuration check
+test-with-config/check-config:
+	$(Q)test -z "$(strip $(CHECK_CONFIG))" || \
+		${COLOR_ECHO} -n "${COLOR_RED}"; \
+		for t in $(CHECK_CONFIG) empty; do \
+			test $$t = "empty" && break; \
+			$$t || \
+			(echo "System configuration for" \
+			"tests is not available, check $${t#$${RIOTBASE}/} failed." \

i was just citing the part after the `,` 

-- 
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/16795#discussion_r702290503
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210904/4fbdd953/attachment.htm>


More information about the notifications mailing list