blob: 71988d4d236b12ad080ce1222a2e3c5cf9ae2bf5 [file] [log] [blame] [edit]
##===- test/Programs/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 $<