diff --git a/makefiles/utils/test-checks.mk b/makefiles/utils/test-checks.mk new file mode 100644 index 0000000000..394887064b --- /dev/null +++ b/makefiles/utils/test-checks.mk @@ -0,0 +1,7 @@ +include checks.mk + +test-ensure_value: + @test "$@" = "$(call ensure_value,$@,"This should not fail")" + +test-ensure_value-negative: + @echo $(call ensure_value,$^,"This should fail")