[riot-notifications] [RIOT-OS/RIOT] makefiles/utils/{strings, paths}: Add function library. (#11218)

Gaƫtan Harter notifications at github.com
Wed May 8 16:30:17 CEST 2019


cladmi commented on this pull request.



> @@ -5,3 +5,21 @@ test-ensure_value:
 
 test-ensure_value-negative:
 	@echo $(call ensure_value,$^,"This should fail")
+
+test-assert:
+	@test -z "$(call assert,$@,"This should not fail")"
+
+test-assert-negative:
+	@test -z "$(call assert,$^,"This should fail")"
+
+test-assert_not:
+	@test -z "$(call assert_not,$^,"This should not fail")"
+
+test-assert_not-negative:
+	@test -z "$(call assert_not,$@,"This should fail")"

Not working, when calling it with `assert_not,,` the test succeeds anyway.

-- 
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/11218#pullrequestreview-235091832
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190508/654e26fc/attachment.html>


More information about the notifications mailing list