mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f466171053
make -f test-checks.mk test-ensure_value should succeed, while make -f test-checks.mk test-ensure_value-negative should fail.
8 lines
180 B
Makefile
8 lines
180 B
Makefile
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")
|