acme/testing/warnings/Makefile
marcobaye 158379ce9a "symbol twice" error now outputs location of previous definition,
just as "macro twice" does.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@406 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-29 18:27:50 +00:00

22 lines
390 B
Makefile

ACMEFLAGS = -v0 --color
FILES := $(wildcard *.a)
FAILTESTS = $(subst .a,.fail,$(FILES))
SUCCTESTS = $(subst .a,.succ,$(FILES))
.SILENT:
%.fail: %.a
echo "Testing warning with --strict:" $<
! acme $(ACMEFLAGS) --strict $<
echo "Ok."
%.succ: %.a
echo "Testing warning:" $<
acme $(ACMEFLAGS) $<
echo "Ok."
all: $(FAILTESTS) $(SUCCTESTS)
echo
echo "Testing warnings: PASSED"
echo