aboutsummaryrefslogtreecommitdiff
path: root/TEST.example.Makefile
blob: 3da799e978487069f11f508a2577d86ab5a16cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
##===- 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 -c $<