mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
22 lines
518 B
Makefile
22 lines
518 B
Makefile
define COMMAND
|
|
$(1)
|
|
$(1)
|
|
|
|
endef
|
|
|
|
all:
|
|
$(call COMMAND,@true #TEST-FAIL)
|
|
$(call COMMAND,-exit 4)
|
|
$(call COMMAND,@-exit 1 # TEST-FAIL)
|
|
$(call COMMAND,-@exit 1 # TEST-FAIL)
|
|
$(call COMMAND,+exit 0)
|
|
$(call COMMAND,+-exit 1)
|
|
$(call COMMAND,@+exit 0 # TEST-FAIL)
|
|
$(call COMMAND,+@exit 0 # TEST-FAIL)
|
|
$(call COMMAND,-+@exit 1 # TEST-FAIL)
|
|
$(call COMMAND,+-@exit 1 # TEST-FAIL)
|
|
$(call COMMAND,@+-exit 1 # TEST-FAIL)
|
|
$(call COMMAND,@+-@+-exit 1 # TEST-FAIL)
|
|
$(call COMMAND,@@++exit 0 # TEST-FAIL)
|
|
@echo TEST-PASS
|