blob: ca2ba1c0a7aebc85f0eb839be05a6ca714045d5d [file] [log] [blame]
##===- TEST.example.Makefile -------------------------------*- Makefile -*-===##
#
# Example to show a custom test. This test just prints the size of the bytecode
# file for each program.
#
##===----------------------------------------------------------------------===##
TESTNAME = $*
$(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
test.$(TEST).%: Output/%.llvm.bc
@echo "========================================="
@echo "Running '$(TEST)' test on '$(TESTNAME)' program"
wc $<