progs/tests: added test for GL_EXT_draw_buffers2
[mesa.git] / progs / tests / SConscript
1 Import('*')
2
3 if not env['GLUT']:
4 Return()
5
6 env = env.Clone()
7
8 env.Prepend(CPPPATH = [
9 '../util',
10 ])
11
12 env.Prepend(LIBS = [
13 util,
14 '$GLUT_LIB'
15 ])
16
17 if env['platform'] == 'windows':
18 env.Append(CPPDEFINES = ['NOMINMAX'])
19 env.Prepend(LIBS = ['winmm'])
20
21 linux_progs = [
22 'api_speed',
23 ]
24
25 glx_progs = [
26 'auxbuffer',
27 'getprocaddress',
28 'jkrahntest',
29 'sharedtex',
30 'texcompress2',
31 'texobjshare',
32 ]
33
34 mesa_progs = [
35 'debugger',
36 ]
37
38 progs = [
39 'afsmultiarb',
40 'antialias',
41 'arbfpspec',
42 'arbfptest1',
43 'arbfptexture',
44 'arbfptrig',
45 'arbnpot',
46 'arbnpot-mipmap',
47 'arbvptest1',
48 'arbvptest3',
49 'arbvptorus',
50 'arbvpwarpmesh',
51 'arraytexture',
52 'blendminmax',
53 'blendsquare',
54 'blendxor',
55 'blitfb',
56 'bufferobj',
57 'bug_3050',
58 'bug_3101',
59 'bug_3195',
60 'bug_texstore_i8',
61 'calibrate_rast',
62 'condrender',
63 'copypixrate',
64 'crossbar',
65 'cva',
66 'drawbuffers',
67 'drawbuffers2',
68 'exactrast',
69 'ext422square',
70 'fbotest1',
71 'fbotest2',
72 'fillrate',
73 'floattex',
74 'fog',
75 'fogcoord',
76 'fptest1',
77 'fptexture',
78 'getteximage',
79 'glutfx',
80 'interleave',
81 'invert',
82 'lineclip',
83 'manytex',
84 'mapbufrange',
85 'mapvbo',
86 'minmag',
87 'mipgen',
88 'mipmap_comp',
89 'mipmap_comp_tests',
90 'mipmap_limits',
91 'mipmap_view',
92 'multipal',
93 'multitexarray',
94 'multiwindow',
95 'no_s3tc',
96 'packedpixels',
97 'pbo',
98 'persp_hint',
99 'prog_parameter',
100 'quads',
101 'random',
102 'readrate',
103 'rubberband',
104 'scissor',
105 'scissor-viewport',
106 'seccolor',
107 'shader_api',
108 'stencil_twoside',
109 'stencil_wrap',
110 'stencilwrap',
111 'streaming_rect',
112 'subtex',
113 'subtexrate',
114 'tex1d',
115 'texcmp',
116 'texcompress2',
117 'texcompsub',
118 'texdown',
119 'texfilt',
120 'texgenmix',
121 'texline',
122 'texobj',
123 'texrect',
124 'texwrap',
125 'unfilledclip',
126 'vao-01',
127 'vao-02',
128 'vparray',
129 'vpeval',
130 'vptest1',
131 'vptest2',
132 'vptest3',
133 'vptorus',
134 'vpwarpmesh',
135 'yuvrect',
136 'yuvsquare',
137 'zcomp',
138 'zdrawpix',
139 'zreaddraw',
140 ]
141
142 for prog in progs:
143 env.Program(
144 target = prog,
145 source = prog + '.c',
146 )