Welcome to mirror list, hosted at ThFree Co, Russian Federation.

makefile « tests « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 399b520ab5e8ebd89e06e3377eb5a687e3909009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ILASM=mono ../ilasm.exe
VERIFY=../../tools/verifier.exe

TEST_SOURCES = test-1 test-2 test-3 test-4 test-5 test-6 test-7

all: test-compiler

# Compile with mono, run with mono jit
test-compiler:
	@rm -f *.exe; \
	for i in $(TEST_SOURCES); do \
		echo -n "Running $$i ... "; \
		if $(ILASM) $$i.il > /dev/null; then \
			if mono ./$$i.exe > /dev/null; then \
				echo OK; \
			else \
				echo FAILED; exit 1; \
			fi; \
		else \
			echo FAILED TO COMPILE; exit 1; \
		fi \
	done
#	echo "Running NO_PASS tests ..."
#	for i in $(TEST_NOPASS); do \
#		echo -n "Running $$i ... "; \
#		if $(ILASM) $$i.il > /dev/null; then \
#			echo OK; \
#		else \
#			echo FAILED TO COMPILE; exit 1; \
#		fi \
#	done

clean:
	rm *.exe