summaryrefslogtreecommitdiff
path: root/assembler/test/Makefile.am
blob: f11311983133a9e0efe16e46c73bc00a98da8a8f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
check_SCRIPTS = run-test.sh

TESTS_ENVIRONMENT = top_builddir=${top_builddir}
TESTS = \
	mov \
	frc \
	rndd \
	rndu \
	rnde \
	rnde-intsrc \
	rndz \
	lzd \
	not \
	immediate

# Tests that are expected to fail because they contain some inccorect code.
XFAIL_TESTS =

# Those tests were already failing when the assembler was imported from
# the intel-gen4asm git repository:
#   http://cgit.freedesktop.org/xorg/app/intel-gen4asm/
# We disable them "for now" as a workaround to be able to release i-g-t
disabled_tests = \
	declare \
	jmpi \
	if \
	iff \
	while \
	else \
	break \
	cont \
	halt \
	wait \
	endif

disabled_xfail_tests = \
	rnde-intsrc

TESTDATA = \
	mov.expected \
	mov.g4a \
	frc.expected \
	frc.g4a \
	rndd.expected \
	rndd.g4a \
	rndu.expected \
	rndu.g4a \
	rnde.expected \
	rnde.g4a \
	rnde-intsrc.expected \
	rnde-intsrc.g4a \
	rndz.expected \
	rndz.g4a \
	lzd.expected \
	lzd.g4a \
	not.expected \
	not.g4a \
	jmpi.expected \
	jmpi.g4a \
	if.expected \
	if.g4a \
	iff.expected \
	iff.g4a \
	while.expected \
	while.g4a \
	else.expected \
	else.g4a \
	break.expected \
	break.g4a \
	cont.expected \
	cont.g4a \
	halt.expected \
	halt.g4a \
	wait.expected \
	wait.g4a \
	endif.expected \
	endif.g4a \
	declare.expected \
	declare.g4a \
	immediate.g4a \
	immediate.expected

EXTRA_DIST = \
	${TESTDATA} \
	run-test.sh

$(TESTS): run-test.sh
	sed "s|TEST|$@|g" ${srcdir}/run-test.sh > $@
	chmod +x $@

CLEANFILES = \
	*.out \
	${TESTS}