Add more structure constructor tests.
[piglit/hramrach.git] / tests / all.tests
blob002877d3f49a1d9cbd2121c140b2e88793816c04
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 # All tests that come with piglit, using default settings
5 import os
6 import re
7 import subprocess
9 from framework.core import *
10 from framework.exectest import *
11 from framework.gleantest import *
13 ######
14 # Collecting all tests
15 profile = TestProfile()
17 glean = Group()
18 glean['basic'] = GleanTest('basic')
19 glean['api2'] = GleanTest('api2')
20 glean['makeCurrent'] = GleanTest('makeCurrent')
21 glean['blendFunc'] = GleanTest('blendFunc')
22 glean['bufferObject'] = GleanTest('bufferObject')
23 glean['clipFlat'] = GleanTest('clipFlat')
24 glean['depthStencil'] = GleanTest('depthStencil')
25 glean['fbo'] = GleanTest('fbo')
26 glean['fpexceptions'] = GleanTest('fpexceptions')
27 glean['getString'] = GleanTest('getString')
28 glean['logicOp'] = GleanTest('logicOp')
29 glean['maskedClear'] = GleanTest('maskedClear')
30 glean['occluquery'] = GleanTest('occluQry')
31 glean['orthoPosRandTris'] = GleanTest('orthoPosRandTris')
32 glean['orthoPosRandRects'] = GleanTest('orthoPosRandRects')
33 glean['orthoPosTinyQuads'] = GleanTest('orthoPosTinyQuads')
34 glean['orthoPosHLines'] = GleanTest('orthoPosHLines')
35 glean['orthoPosVLines'] = GleanTest('orthoPosVLines')
36 glean['orthoPosPoints'] = GleanTest('orthoPosPoints')
37 glean['paths'] = GleanTest('paths')
38 glean['pbo'] = GleanTest('pbo')
39 glean['polygonOffset'] = GleanTest('polygonOffset')
40 glean['pixelFormats'] = GleanTest('pixelFormats')
41 glean['pointAtten'] = GleanTest('pointAtten')
42 glean['pointSprite'] = GleanTest('pointSprite')
43 glean['exactRGBA'] = GleanTest('exactRGBA')
44 glean['readPixSanity'] = GleanTest('readPixSanity')
45 glean['rgbTriStrip'] = GleanTest('rgbTriStrip')
46 glean['scissor'] = GleanTest('scissor')
47 glean['shaderAPI'] = GleanTest('shaderAPI')
48 glean['stencil2'] = GleanTest('stencil2')
49 glean['teapot'] = GleanTest('teapot')
50 glean['texCombine'] = GleanTest('texCombine')
51 glean['texCube'] = GleanTest('texCube')
52 glean['texEnv'] = GleanTest('texEnv')
53 glean['texgen'] = GleanTest('texgen')
54 glean['texRect'] = GleanTest('texRect')
55 glean['texCombine4'] = GleanTest('texCombine4')
56 glean['texSwizzle'] = GleanTest('texSwizzle')
57 glean['texture_srgb'] = GleanTest('texture_srgb')
58 glean['texUnits'] = GleanTest('texUnits')
59 glean['vertArrayBGRA'] = GleanTest('vertArrayBGRA')
60 glean['vertattrib'] = GleanTest('vertattrib')
62 def add_glsl1(name):
63 testname = 'glsl1-' + name
64 glean[testname] = GleanTest('glsl1')
65 glean[testname].env['PIGLIT_TEST'] = name
66 execfile(os.path.dirname(__file__) + '/glean-glsl1.tests')
68 def add_fp1(name):
69 testname = 'fp1-' + name
70 glean[testname] = GleanTest('fragProg1')
71 glean[testname].env['PIGLIT_TEST'] = name
72 execfile(os.path.dirname(__file__) + '/glean-fragProg1.tests')
74 def add_vp1(name):
75 testname = 'vp1-' + name
76 glean[testname] = GleanTest('vertProg1')
77 glean[testname].env['PIGLIT_TEST'] = name
78 execfile(os.path.dirname(__file__) + '/glean-vertProg1.tests')
80 mesa = Group()
81 add_plain_test(mesa, 'crossbar')
83 fbo = Group()
84 add_plain_test(fbo, 'fbo-1d')
85 add_plain_test(fbo, 'fbo-3d')
86 add_plain_test(fbo, 'fbo-alpha')
87 add_plain_test(fbo, 'fbo-blit')
88 add_plain_test(fbo, 'fbo-blit-d24s8')
89 add_plain_test(fbo, 'fbo-cubemap')
90 add_plain_test(fbo, 'fbo-clearmipmap')
91 add_plain_test(fbo, 'fbo-copypix')
92 add_plain_test(fbo, 'fbo-copyteximage')
93 add_plain_test(fbo, 'fbo-copyteximage-simple')
94 add_plain_test(fbo, 'fbo-drawbuffers')
95 add_plain_test(fbo, 'fbo-drawbuffers-fragcolor')
96 add_plain_test(fbo, 'fbo-drawbuffers-maxtargets')
97 add_plain_test(fbo, 'fbo-drawbuffers2-blend')
98 add_plain_test(fbo, 'fbo-drawbuffers2-colormask')
99 add_plain_test(fbo, 'fbo-d24s8')
100 add_plain_test(fbo, 'fbo-flushing')
101 add_plain_test(fbo, 'fbo-generatemipmap')
102 add_plain_test(fbo, 'fbo-generatemipmap-scissor')
103 add_plain_test(fbo, 'fbo-generatemipmap-nonsquare')
104 add_plain_test(fbo, 'fbo-generatemipmap-npot')
105 add_plain_test(fbo, 'fbo-generatemipmap-viewport')
106 add_plain_test(fbo, 'fbo-nodepth-test')
107 add_plain_test(fbo, 'fbo-nostencil-test')
108 add_plain_test(fbo, 'fbo-readdrawpix')
109 add_plain_test(fbo, 'fbo-readpixels')
110 add_plain_test(fbo, 'fbo-scissor-bitmap')
111 add_plain_test(fbo, 'fbo-pbo-readpixels-small')
113 general = Group()
114 add_plain_test(general, 'bgra-sec-color-pointer')
115 add_plain_test(general, 'bgra-vert-attrib-pointer')
116 add_plain_test(general, 'blendminmax')
117 add_plain_test(general, 'blendsquare')
118 add_plain_test(general, 'clear-varray-2.0')
119 add_plain_test(general, 'depthrange-clear')
120 add_plain_test(general, 'depth_clamp')
121 add_plain_test(general, 'depth-clamp-range')
122 add_plain_test(general, 'depthfunc')
123 add_plain_test(general, 'dlist-clear')
124 add_plain_test(general, 'dlist-fdo3129-01')
125 add_plain_test(general, 'dlist-fdo3129-02')
126 add_plain_test(general, 'draw-elements')
127 add_plain_test(general, 'draw-elements-base-vertex')
128 add_plain_test(general, 'draw-elements-vs-inputs')
129 add_plain_test(general, 'draw-vertices')
130 add_plain_test(general, 'draw-vertices-half-float')
131 add_plain_test(general, 'line-aa-width')
132 add_plain_test(general, 'linestipple')
133 add_plain_test(general, 'object_purgeable-api-pbo')
134 add_plain_test(general, 'object_purgeable-api-texture')
135 add_plain_test(general, 'object_purgeable-api-vbo')
136 add_plain_test(general, 'occlusion_query')
137 add_plain_test(general, 'occlusion-query-discard')
138 add_plain_test(general, 'pbo-drawpixels')
139 add_plain_test(general, 'pbo-read-argb8888')
140 add_plain_test(general, 'pbo-readpixels-small')
141 add_plain_test(general, 'pbo-teximage')
142 add_plain_test(general, 'pbo-teximage-tiling')
143 add_plain_test(general, 'pbo-teximage-tiling-2')
144 add_plain_test(general, 'point-line-no-cull')
145 add_plain_test(general, 'primitive-restart')
146 add_plain_test(general, 'provoking-vertex')
147 add_plain_test(general, 'oes-read-format')
148 add_plain_test(general, 'quad-invariance')
149 add_plain_test(general, 'read-front')
150 add_plain_test(general, 'scissor-bitmap')
151 add_plain_test(general, 'scissor-clear')
152 add_plain_test(general, 'scissor-copypixels')
153 add_plain_test(general, 'scissor-depth-clear')
154 add_plain_test(general, 'scissor-many')
155 add_plain_test(general, 'scissor-offscreen')
156 add_plain_test(general, 'scissor-stencil-clear')
157 add_plain_test(general, 'stencil-drawpixels')
158 add_plain_test(general, 'stencil-twoside')
159 add_plain_test(general, 'stencil-wrap')
160 add_plain_test(general, 'texgen')
161 add_plain_test(general, 'texunits')
162 add_plain_test(general, 'timer_query')
163 add_plain_test(general, 'user-clip')
164 add_plain_test(general, 'vao-01')
165 add_plain_test(general, 'vao-02')
166 add_plain_test(general, 'varray-disabled')
167 add_plain_test(general, 'vbo-map-remap')
168 add_plain_test(general, 'vbo-subdata-sync')
169 add_plain_test(general, 'windowoverlap')
170 add_plain_test(general, 'sync_api')
172 shaders = Group()
173 def add_shader_generic(group, name):
174 path = testBinDir + '../tests/shaders/'
175 group[name] = PlainExecTest(['shader_runner', '-auto',
176 path + name + '.shader_test',
177 path])
179 add_plain_test(shaders, 'ati-fs-bad-delete')
180 add_plain_test(shaders, 'trinity-fp1')
181 add_plain_test(shaders, 'fp-abs-01')
182 add_plain_test(shaders, 'fp-abs-02')
183 add_plain_test(shaders, 'fp-condition_codes-01')
184 add_plain_test(shaders, 'fp-fog')
185 add_plain_test(shaders, 'fp-lit-mask')
186 add_plain_test(shaders, 'fp-fragment-position')
187 add_plain_test(shaders, 'fp-kil')
188 add_plain_test(shaders, 'fp-incomplete-tex')
189 add_plain_test(shaders, 'fp-indirections')
190 add_plain_test(shaders, 'fp-indirections2')
191 add_plain_test(shaders, 'fp-long-alu')
192 add_plain_test(shaders, 'fp-rfl')
193 add_plain_test(shaders, 'fp-set-01')
194 add_plain_test(shaders, 'fp-set-02')
195 add_plain_test(shaders, 'fp-unpack-01')
196 add_shader_generic(shaders, 'glsl-algebraic-add-add-1')
197 add_shader_generic(shaders, 'glsl-algebraic-add-add-2')
198 add_shader_generic(shaders, 'glsl-algebraic-add-add-3')
199 add_shader_generic(shaders, 'glsl-algebraic-add-add-4')
200 add_shader_generic(shaders, 'glsl-algebraic-add-sub-1')
201 add_shader_generic(shaders, 'glsl-algebraic-add-sub-2')
202 add_shader_generic(shaders, 'glsl-algebraic-add-zero')
203 add_shader_generic(shaders, 'glsl-algebraic-add-zero-2')
204 add_shader_generic(shaders, 'glsl-algebraic-div-one')
205 add_shader_generic(shaders, 'glsl-algebraic-div-one-2')
206 add_shader_generic(shaders, 'glsl-algebraic-logicand-false-2')
207 add_shader_generic(shaders, 'glsl-algebraic-logicand-false')
208 add_shader_generic(shaders, 'glsl-algebraic-logicand-true-2')
209 add_shader_generic(shaders, 'glsl-algebraic-logicand-true')
210 add_shader_generic(shaders, 'glsl-algebraic-logicor-false-2')
211 add_shader_generic(shaders, 'glsl-algebraic-logicor-false')
212 add_shader_generic(shaders, 'glsl-algebraic-logicor-true-2')
213 add_shader_generic(shaders, 'glsl-algebraic-logicor-true')
214 add_shader_generic(shaders, 'glsl-algebraic-logicxor-false')
215 add_shader_generic(shaders, 'glsl-algebraic-logicxor-true')
216 add_shader_generic(shaders, 'glsl-algebraic-mul-mul-1')
217 add_shader_generic(shaders, 'glsl-algebraic-mul-one')
218 add_shader_generic(shaders, 'glsl-algebraic-mul-one-2')
219 add_shader_generic(shaders, 'glsl-algebraic-mul-zero')
220 add_shader_generic(shaders, 'glsl-algebraic-not-equals')
221 add_shader_generic(shaders, 'glsl-algebraic-not-notequals')
222 add_shader_generic(shaders, 'glsl-algebraic-pow-two')
223 add_shader_generic(shaders, 'glsl-algebraic-rcp-rcp')
224 add_shader_generic(shaders, 'glsl-algebraic-rcp-rsq')
225 add_shader_generic(shaders, 'glsl-algebraic-rcp-sqrt')
226 add_shader_generic(shaders, 'glsl-algebraic-rcp-sqrt-2')
227 add_shader_generic(shaders, 'glsl-algebraic-sub-sub-1')
228 add_shader_generic(shaders, 'glsl-algebraic-sub-zero-2')
229 add_shader_generic(shaders, 'glsl-algebraic-sub-zero-3')
230 add_shader_generic(shaders, 'glsl-algebraic-sub-zero-4')
231 add_shader_generic(shaders, 'glsl-algebraic-sub-zero')
232 add_shader_generic(shaders, 'glsl-array-length')
233 add_shader_generic(shaders, 'glsl-array-bounds-01')
234 add_shader_generic(shaders, 'glsl-array-bounds-02')
235 add_shader_generic(shaders, 'glsl-array-bounds-03')
236 add_shader_generic(shaders, 'glsl-array-bounds-04')
237 add_shader_generic(shaders, 'glsl-array-bounds-05')
238 add_shader_generic(shaders, 'glsl-array-bounds-06')
239 add_shader_generic(shaders, 'glsl-array-bounds-07')
240 add_shader_generic(shaders, 'glsl-array-bounds-08')
241 add_shader_generic(shaders, 'glsl-array-varying-01')
242 add_plain_test(shaders, 'glsl-arb-fragment-coord-conventions')
243 add_plain_test(shaders, 'glsl-arb-fragment-coord-conventions-define')
244 add_plain_test(shaders, 'glsl-bug-22603')
245 add_shader_generic(shaders, 'glsl-constant-folding-call-1')
246 add_shader_generic(shaders, 'glsl-copy-propagation-if-1')
247 add_shader_generic(shaders, 'glsl-copy-propagation-if-2')
248 add_shader_generic(shaders, 'glsl-copy-propagation-if-3')
249 add_shader_generic(shaders, 'glsl-deadcode-call')
250 add_shader_generic(shaders, 'glsl-deadcode-self-assign')
251 add_shader_generic(shaders, 'glsl-deadcode-varying')
252 add_plain_test(shaders, 'glsl-bindattriblocation')
253 add_plain_test(shaders, 'glsl-dlist-getattriblocation')
254 add_plain_test(shaders, 'glsl-getactiveuniform-array-size')
255 add_plain_test(shaders, 'glsl-getactiveuniform-count')
256 add_plain_test(shaders, 'glsl-getactiveuniform-length')
257 add_plain_test(shaders, 'glsl-getattriblocation')
258 add_plain_test(shaders, 'glsl-novertexdata')
259 add_plain_test(shaders, 'glsl-preprocessor-comments')
260 add_plain_test(shaders, 'glsl-reload-source')
261 add_plain_test(shaders, 'glsl-uniform-out-of-bounds')
262 add_plain_test(shaders, 'glsl-uniform-update')
263 add_plain_test(shaders, 'glsl-unused-varying')
264 add_shader_generic(shaders, 'glsl-floating-constant-120')
265 add_shader_generic(shaders, 'glsl-fs-abs-01')
266 add_shader_generic(shaders, 'glsl-fs-abs-02')
267 add_shader_generic(shaders, 'glsl-fs-abs-03')
268 add_shader_generic(shaders, 'glsl-fs-abs-04')
269 add_shader_generic(shaders, 'glsl-fs-add-masked')
270 add_shader_generic(shaders, 'glsl-fs-all-01')
271 add_shader_generic(shaders, 'glsl-fs-all-02')
272 add_shader_generic(shaders, 'glsl-fs-any')
273 add_shader_generic(shaders, 'glsl-fs-asin')
274 add_shader_generic(shaders, 'glsl-fs-atan-1')
275 add_shader_generic(shaders, 'glsl-fs-atan-2')
276 add_shader_generic(shaders, 'glsl-fs-atan-3')
277 add_shader_generic(shaders, 'glsl-fs-main-return')
278 add_shader_generic(shaders, 'glsl-fs-mov-masked')
279 add_plain_test(shaders, 'glsl-fs-bug25902')
280 add_shader_generic(shaders, 'glsl-fs-cross')
281 add_shader_generic(shaders, 'glsl-fs-cross-2')
282 add_shader_generic(shaders, 'glsl-fs-cross-3')
283 add_shader_generic(shaders, 'glsl-fs-discard-01')
284 add_plain_test(shaders, 'glsl-fs-discard-02')
285 add_shader_generic(shaders, 'glsl-fs-dot-vec2')
286 add_shader_generic(shaders, 'glsl-fs-dot-vec2-2')
287 add_shader_generic(shaders, 'glsl-fs-exp')
288 add_plain_test(shaders, 'glsl-fs-exp2')
289 add_plain_test(shaders, 'glsl-fs-fragcoord')
290 add_shader_generic(shaders, 'glsl-fs-functions-2')
291 add_shader_generic(shaders, 'glsl-fs-functions-3')
292 add_shader_generic(shaders, 'glsl-fs-functions-4')
293 add_shader_generic(shaders, 'glsl-fs-functions-samplers')
294 add_shader_generic(shaders, 'glsl-fs-if-less')
295 add_shader_generic(shaders, 'glsl-fs-if-less-equal')
296 add_shader_generic(shaders, 'glsl-fs-if-nested-loop')
297 add_shader_generic(shaders, 'glsl-fs-if-greater')
298 add_shader_generic(shaders, 'glsl-fs-if-greater-equal')
299 add_shader_generic(shaders, 'glsl-fs-log')
300 add_shader_generic(shaders, 'glsl-fs-log2')
301 add_plain_test(shaders, 'glsl-fs-loop')
302 add_shader_generic(shaders, 'glsl-fs-loop-const-decr')
303 add_shader_generic(shaders, 'glsl-fs-loop-const-incr')
304 add_shader_generic(shaders, 'glsl-fs-loop-ge')
305 add_shader_generic(shaders, 'glsl-fs-loop-gt')
306 add_shader_generic(shaders, 'glsl-fs-loop-le')
307 add_shader_generic(shaders, 'glsl-fs-loop-lt')
308 add_plain_test(shaders, 'glsl-fs-loop-nested')
309 add_shader_generic(shaders, 'glsl-fs-loop-two-counter-01')
310 add_shader_generic(shaders, 'glsl-fs-loop-two-counter-02')
311 add_shader_generic(shaders, 'glsl-fs-loop-two-counter-03')
312 add_shader_generic(shaders, 'glsl-fs-loop-two-counter-04')
313 add_shader_generic(shaders, 'glsl-fs-loop-zero-iter')
314 add_shader_generic(shaders, 'glsl-fs-max')
315 add_shader_generic(shaders, 'glsl-fs-min')
316 add_plain_test(shaders, 'glsl-fs-mix')
317 add_plain_test(shaders, 'glsl-fs-mix-constant')
318 add_shader_generic(shaders, 'glsl-fs-mod')
319 add_shader_generic(shaders, 'glsl-fs-neg')
320 add_plain_test(shaders, 'glsl-fs-pointcoord')
321 add_plain_test(shaders, 'glsl-fs-raytrace-bug27060')
322 add_shader_generic(shaders, 'glsl-fs-reflect')
323 add_plain_test(shaders, 'glsl-fs-sampler-numbering')
324 add_shader_generic(shaders, 'glsl-fs-sampler-numbering-2')
325 add_shader_generic(shaders, 'glsl-fs-sampler-numbering-3')
326 add_plain_test(shaders, 'glsl-fs-sqrt-branch')
327 add_plain_test(shaders, 'glsl-fs-sqrt-zero')
328 add_shader_generic(shaders, 'glsl-fs-sign')
329 add_shader_generic(shaders, 'glsl-fs-statevar-call')
330 add_shader_generic(shaders, 'glsl-fs-step')
331 add_shader_generic(shaders, 'glsl-fs-tan-1')
332 add_shader_generic(shaders, 'glsl-fs-tan-2')
333 add_shader_generic(shaders, 'glsl-fs-tan-3')
334 add_shader_generic(shaders, 'glsl-fs-texture2d')
335 add_shader_generic(shaders, 'glsl-fs-texture2d-bias')
336 add_shader_generic(shaders, 'glsl-fs-texture2d-masked')
337 add_shader_generic(shaders, 'glsl-fs-texture2dproj')
338 add_shader_generic(shaders, 'glsl-fs-texture2dproj-2')
339 add_shader_generic(shaders, 'glsl-fs-texture2dproj-bias')
340 add_shader_generic(shaders, 'glsl-fs-texture2dproj-bias-2')
341 add_shader_generic(shaders, 'glsl-fs-uniform-array-1')
342 add_shader_generic(shaders, 'glsl-fs-uniform-array-2')
343 add_shader_generic(shaders, 'glsl-fs-uniform-array-3')
344 add_shader_generic(shaders, 'glsl-fs-uniform-array-4')
345 add_shader_generic(shaders, 'glsl-fs-uniform-sampler-array')
346 add_shader_generic(shaders, 'glsl-fs-uniform-sampler-struct')
347 add_shader_generic(shaders, 'glsl-fs-varying-array')
348 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-dst')
349 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-dst-in-loop')
350 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined')
351 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-src')
352 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-src-in-loop')
353 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-src-in-nested-loop-inner')
354 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-src-in-nested-loop-outer')
355 add_shader_generic(shaders, 'glsl-fs-vec4-indexing-temp-src-in-nested-loop-combined')
356 add_shader_generic(shaders, 'glsl-fs-vec4-operator-equal')
357 add_shader_generic(shaders, 'glsl-fs-vec4-operator-notequal')
358 add_shader_generic(shaders, 'glsl-function-prototype')
359 add_shader_generic(shaders, 'glsl-if-assign-call')
360 add_shader_generic(shaders, 'glsl-mat-110')
361 add_shader_generic(shaders, 'glsl-mat-from-int-ctor-01')
362 add_shader_generic(shaders, 'glsl-mat-from-int-ctor-02')
363 add_shader_generic(shaders, 'glsl-mat-from-int-ctor-03')
364 add_plain_test(shaders, 'glsl-max-varyings')
365 add_shader_generic(shaders, 'glsl-octal')
366 add_plain_test(shaders, 'glsl-orangebook-ch06-bump')
367 add_shader_generic(shaders, 'glsl-precision-110')
368 add_plain_test(shaders, 'glsl-routing')
369 add_shader_generic(shaders, 'glsl-uniform-initializer-1')
370 add_shader_generic(shaders, 'glsl-uniform-initializer-2')
371 add_shader_generic(shaders, 'glsl-uniform-initializer-3')
372 add_shader_generic(shaders, 'glsl-uniform-initializer-4')
373 add_shader_generic(shaders, 'glsl-uniform-initializer-5')
374 add_shader_generic(shaders, 'glsl-uniform-initializer-6')
375 add_shader_generic(shaders, 'glsl-uniform-initializer-7')
376 add_shader_generic(shaders, 'glsl-uniform-linking-1')
377 add_shader_generic(shaders, 'glsl-uniform-struct')
378 add_shader_generic(shaders, 'glsl-varying-mat3x2')
379 add_shader_generic(shaders, 'glsl-version-define')
380 add_shader_generic(shaders, 'glsl-version-define-110')
381 add_shader_generic(shaders, 'glsl-version-define-120')
382 add_shader_generic(shaders, 'glsl-vs-all-01')
383 add_shader_generic(shaders, 'glsl-vs-all-02')
384 add_plain_test(shaders, 'glsl-vs-arrays')
385 add_shader_generic(shaders, 'glsl-vs-dot-vec2')
386 add_shader_generic(shaders, 'glsl-vs-main-return')
387 add_shader_generic(shaders, 'glsl-vs-masked-dot')
388 add_shader_generic(shaders, 'glsl-vs-masked-cos')
389 add_shader_generic(shaders, 'glsl-vs-arrays-2')
390 add_shader_generic(shaders, 'glsl-vs-arrays-3')
391 add_shader_generic(shaders, 'glsl-vs-cross')
392 add_shader_generic(shaders, 'glsl-vs-cross-2')
393 add_shader_generic(shaders, 'glsl-vs-cross-3')
394 add_shader_generic(shaders, 'glsl-vs-constructor-call')
395 add_shader_generic(shaders, 'glsl-vs-ff-frag')
396 add_plain_test(shaders, 'glsl-vs-functions')
397 add_shader_generic(shaders, 'glsl-vs-functions-2')
398 add_shader_generic(shaders, 'glsl-vs-functions-3')
399 add_shader_generic(shaders, 'glsl-vs-if-less')
400 add_shader_generic(shaders, 'glsl-vs-if-less-equal')
401 add_shader_generic(shaders, 'glsl-vs-if-nested')
402 add_shader_generic(shaders, 'glsl-vs-if-nested-loop')
403 add_shader_generic(shaders, 'glsl-vs-if-greater')
404 add_shader_generic(shaders, 'glsl-vs-if-greater-equal')
405 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-dst')
406 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-dst-in-loop')
407 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-dst-in-nested-loop-combined')
408 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-src')
409 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-src-in-loop')
410 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-src-in-nested-loop-inner')
411 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-src-in-nested-loop-outer')
412 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-temp-src-in-nested-loop-combined')
413 add_shader_generic(shaders, 'glsl-vs-large-uniform-array')
414 add_shader_generic(shaders, 'glsl-vs-mat-add-1')
415 add_shader_generic(shaders, 'glsl-vs-mat-div-1')
416 add_shader_generic(shaders, 'glsl-vs-mat-div-2')
417 add_shader_generic(shaders, 'glsl-vs-mat-mul-1')
418 add_shader_generic(shaders, 'glsl-vs-mat-mul-2')
419 add_shader_generic(shaders, 'glsl-vs-mat-mul-3')
420 add_shader_generic(shaders, 'glsl-vs-mat-sub-1')
421 add_shader_generic(shaders, 'glsl-vs-position-outval')
422 add_shader_generic(shaders, 'glsl-vs-sign')
423 add_shader_generic(shaders, 'glsl-vs-swizzle-swizzle-lhs')
424 add_shader_generic(shaders, 'glsl-vs-swizzle-swizzle-rhs')
425 add_plain_test(shaders, 'glsl-vs-texturematrix-1')
426 add_plain_test(shaders, 'glsl-vs-texturematrix-2')
427 add_shader_generic(shaders, 'glsl-vs-uniform-array-1')
428 add_shader_generic(shaders, 'glsl-vs-uniform-array-2')
429 add_shader_generic(shaders, 'glsl-vs-varying-array')
430 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-1')
431 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-2')
432 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-3')
433 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-4')
434 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-5')
435 add_shader_generic(shaders, 'glsl-vs-vec4-indexing-6')
436 add_shader_generic(shaders, 'glsl-vs-vec4-operator-equal')
437 add_shader_generic(shaders, 'glsl-vs-vec4-operator-notequal')
438 add_shader_generic(shaders, 'glsl-texcoord-array')
439 add_shader_generic(shaders, 'glsl-texcoord-array-2')
440 add_shader_generic(shaders, 'glsl-pp-elif-no-expression-1')
441 add_shader_generic(shaders, 'glsl-implicit-conversion-01')
442 add_shader_generic(shaders, 'glsl-const-builtin-abs')
443 add_shader_generic(shaders, 'glsl-const-builtin-acos')
444 add_shader_generic(shaders, 'glsl-const-builtin-all')
445 add_shader_generic(shaders, 'glsl-const-builtin-any')
446 add_shader_generic(shaders, 'glsl-const-builtin-asin')
447 add_shader_generic(shaders, 'glsl-const-builtin-atan')
448 add_shader_generic(shaders, 'glsl-const-builtin-ceil')
449 add_shader_generic(shaders, 'glsl-const-builtin-clamp')
450 add_shader_generic(shaders, 'glsl-const-builtin-cosh')
451 add_shader_generic(shaders, 'glsl-const-builtin-cos')
452 add_shader_generic(shaders, 'glsl-const-builtin-cross')
453 add_shader_generic(shaders, 'glsl-const-builtin-degrees')
454 add_shader_generic(shaders, 'glsl-const-builtin-derivatives')
455 add_shader_generic(shaders, 'glsl-const-builtin-distance')
456 add_shader_generic(shaders, 'glsl-const-builtin-dot')
457 add_shader_generic(shaders, 'glsl-const-builtin-equal')
458 add_shader_generic(shaders, 'glsl-const-builtin-equal-02')
459 add_shader_generic(shaders, 'glsl-const-builtin-equal-03')
460 add_shader_generic(shaders, 'glsl-const-builtin-equal-04')
461 add_shader_generic(shaders, 'glsl-const-builtin-equal-05')
462 add_shader_generic(shaders, 'glsl-const-builtin-equal-06')
463 add_shader_generic(shaders, 'glsl-const-builtin-equal-07')
464 add_shader_generic(shaders, 'glsl-const-builtin-equal-08')
465 add_shader_generic(shaders, 'glsl-const-builtin-equal-09')
466 add_shader_generic(shaders, 'glsl-const-builtin-equal-10')
467 add_shader_generic(shaders, 'glsl-const-builtin-equal-bool')
468 add_shader_generic(shaders, 'glsl-const-builtin-exp')
469 add_shader_generic(shaders, 'glsl-const-builtin-exp2')
470 add_shader_generic(shaders, 'glsl-const-builtin-faceforward')
471 add_shader_generic(shaders, 'glsl-const-builtin-floor')
472 add_shader_generic(shaders, 'glsl-const-builtin-fract')
473 add_shader_generic(shaders, 'glsl-const-builtin-greaterThanEqual')
474 add_shader_generic(shaders, 'glsl-const-builtin-greaterThan')
475 add_shader_generic(shaders, 'glsl-const-builtin-inversesqrt')
476 add_shader_generic(shaders, 'glsl-const-builtin-length')
477 add_shader_generic(shaders, 'glsl-const-builtin-lessThanEqual')
478 add_shader_generic(shaders, 'glsl-const-builtin-lessThan')
479 add_shader_generic(shaders, 'glsl-const-builtin-log')
480 add_shader_generic(shaders, 'glsl-const-builtin-log2')
481 add_shader_generic(shaders, 'glsl-const-builtin-matrixCompMult')
482 add_shader_generic(shaders, 'glsl-const-builtin-max')
483 add_shader_generic(shaders, 'glsl-const-builtin-min')
484 add_shader_generic(shaders, 'glsl-const-builtin-mix')
485 add_shader_generic(shaders, 'glsl-const-builtin-mod')
486 add_shader_generic(shaders, 'glsl-const-builtin-normalize')
487 add_shader_generic(shaders, 'glsl-const-builtin-not')
488 add_shader_generic(shaders, 'glsl-const-builtin-notEqual')
489 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-02')
490 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-03')
491 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-04')
492 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-05')
493 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-06')
494 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-07')
495 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-08')
496 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-09')
497 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-10')
498 add_shader_generic(shaders, 'glsl-const-builtin-notEqual-bool')
499 add_shader_generic(shaders, 'glsl-const-builtin-outerProduct')
500 add_shader_generic(shaders, 'glsl-const-builtin-pow')
501 add_shader_generic(shaders, 'glsl-const-builtin-radians')
502 add_shader_generic(shaders, 'glsl-const-builtin-reflect')
503 add_shader_generic(shaders, 'glsl-const-builtin-refract')
504 add_shader_generic(shaders, 'glsl-const-builtin-sign')
505 add_shader_generic(shaders, 'glsl-const-builtin-sin')
506 add_shader_generic(shaders, 'glsl-const-builtin-smoothstep')
507 add_shader_generic(shaders, 'glsl-const-builtin-step')
508 add_shader_generic(shaders, 'glsl-const-builtin-sqrt')
509 add_shader_generic(shaders, 'glsl-const-builtin-tan')
510 add_shader_generic(shaders, 'glsl-const-builtin-transpose')
511 add_shader_generic(shaders, 'glsl-const-folding-01')
512 add_plain_test(shaders, 'glsl-sin')
513 add_plain_test(shaders, 'glsl-cos')
514 add_plain_test(shaders, 'glsl-vs-if-bool')
515 add_plain_test(shaders, 'glsl-vs-loop')
516 add_plain_test(shaders, 'glsl-vs-loop-nested')
517 add_plain_test(shaders, 'glsl-vs-mov-after-deref')
518 add_plain_test(shaders, 'glsl-vs-raytrace-bug26691')
519 add_plain_test(shaders, 'glsl-vs-sqrt-zero')
520 add_plain_test(shaders, 'vp-address-01')
521 add_plain_test(shaders, 'vp-address-02')
522 add_plain_test(shaders, 'vp-address-03')
523 add_plain_test(shaders, 'vp-address-04')
524 add_plain_test(shaders, 'vp-address-05')
525 add_plain_test(shaders, 'vp-address-06')
526 add_plain_test(shaders, 'vp-bad-program')
527 add_plain_test(shaders, 'vp-clipdistance-01')
528 add_plain_test(shaders, 'vp-clipdistance-02')
529 add_plain_test(shaders, 'vp-clipdistance-03')
530 add_plain_test(shaders, 'vp-clipdistance-04')
531 add_plain_test(shaders, 'vp-combined-image-units')
532 add_plain_test(shaders, 'vp-max-array')
533 add_plain_test(shaders, 'glsl-derivs')
534 add_plain_test(shaders, 'glsl-deriv-varyings')
535 add_plain_test(shaders, 'glsl-fwidth')
536 add_plain_test(shaders, 'glsl-lod-bias')
537 add_plain_test(shaders, 'vp-ignore-input')
538 add_plain_test(shaders, 'glsl-empty-vs-no-fs')
539 add_plain_test(shaders, 'glsl-useprogram-displaylist')
540 add_plain_test(shaders, 'glsl-vs-point-size')
541 add_shader_generic(shaders, 'glsl-link-array-01')
542 add_plain_test(shaders, 'glsl-link-initializer-01')
543 add_plain_test(shaders, 'glsl-link-initializer-02')
544 add_plain_test(shaders, 'glsl-link-initializer-03')
545 add_plain_test(shaders, 'glsl-link-initializer-04')
546 add_plain_test(shaders, 'glsl-link-initializer-05')
547 add_plain_test(shaders, 'glsl-link-initializer-06')
548 add_shader_generic(shaders, 'glsl-override-builtin')
550 fpgeneric = Group()
551 def add_fpgeneric(name):
552 fpgeneric[name] = PlainExecTest(['fp-generic', '-auto', testBinDir + '../tests/shaders/generic/' + name + '.fp'])
553 add_fpgeneric('dph')
554 add_fpgeneric('kil-swizzle')
555 add_fpgeneric('lrp_sat')
556 shaders['fp-generic'] = fpgeneric
558 vpfpgeneric = Group()
559 def add_vpfpgeneric(name):
560 vpfpgeneric[name] = PlainExecTest(['vpfp-generic', '-auto', testBinDir + '../tests/shaders/generic/' + name + '.vpfp'])
561 add_vpfpgeneric('arl')
562 add_vpfpgeneric('big-param')
563 add_vpfpgeneric('dataflow-bug')
564 add_vpfpgeneric('fogcoord-dp3')
565 add_vpfpgeneric('fogcoord-dph')
566 add_vpfpgeneric('fogcoord-dp4')
567 add_vpfpgeneric('fp-arb-fragment-coord-conventions-none')
568 add_vpfpgeneric('fp-arb-fragment-coord-conventions-integer')
569 add_vpfpgeneric('fp-cmp')
570 add_vpfpgeneric('fp-two-constants')
571 add_vpfpgeneric('nv-mov')
572 add_vpfpgeneric('nv-add')
573 add_vpfpgeneric('nv-arl')
574 add_vpfpgeneric('nv-init-zero-reg')
575 add_vpfpgeneric('nv-init-zero-addr')
576 add_vpfpgeneric('vp-arl-constant-array')
577 add_vpfpgeneric('vp-arl-constant-array-huge')
578 add_vpfpgeneric('vp-arl-constant-array-huge-varying')
579 add_vpfpgeneric('vp-arl-constant-array-huge-offset')
580 add_vpfpgeneric('vp-arl-constant-array-huge-offset-neg')
581 add_vpfpgeneric('vp-arl-constant-array-huge-overwritten')
582 add_vpfpgeneric('vp-arl-constant-array-huge-relative-offset')
583 add_vpfpgeneric('vp-arl-constant-array-varying')
584 add_vpfpgeneric('vp-arl-env-array')
585 add_vpfpgeneric('vp-arl-local-array')
586 add_vpfpgeneric('vp-arl-neg-array')
587 add_vpfpgeneric('vp-arl-neg-array-2')
588 add_vpfpgeneric('vp-constant-array')
589 add_vpfpgeneric('vp-constant-array-huge')
590 add_vpfpgeneric('vp-exp-alias')
591 add_vpfpgeneric('vp-max')
592 add_vpfpgeneric('vp-min')
593 add_vpfpgeneric('vp-sge-alias')
594 add_vpfpgeneric('vp-two-constants')
595 shaders['vpfp-generic'] = vpfpgeneric
597 bugs = Group()
598 add_plain_test(bugs, 'crash-cubemap-order')
599 add_plain_test(bugs, 'crash-texparameter-before-teximage')
600 add_plain_test(bugs, 'fdo9833')
601 add_plain_test(bugs, 'fdo10370')
602 add_plain_test(bugs, 'fdo14575')
603 add_plain_test(bugs, 'fdo20701')
604 add_plain_test(bugs, 'r300-readcache')
605 add_plain_test(bugs, 'tex1d-2dborder')
606 add_plain_test(bugs, 'point-sprite')
607 add_plain_test(bugs, 'fdo22540')
608 add_plain_test(bugs, 'fdo23489')
609 add_plain_test(bugs, 'fdo23670-depth_test')
610 add_plain_test(bugs, 'fdo23670-drawpix_stencil')
611 add_plain_test(bugs, 'fdo24066')
612 add_plain_test(bugs, 'fdo25614-genmipmap')
613 add_plain_test(bugs, 'fdo28551')
615 glx = Group()
616 add_plain_test(glx, 'glx-destroycontext-1')
617 add_plain_test(glx, 'glx-destroycontext-2')
618 add_plain_test(glx, 'glx-multithread')
619 add_plain_test(glx, 'glx-swap-exchange')
621 texturing = Group()
622 add_plain_test(texturing, 'array-texture')
623 add_plain_test(texturing, 'copytexsubimage')
624 add_plain_test(texturing, 'cubemap')
625 add_plain_test(texturing, 'depth-level-clamp')
626 add_plain_test(texturing, 'fxt1-teximage')
627 add_plain_test(texturing, 'gen-teximage')
628 add_plain_test(texturing, 'gen-compressed-teximage')
629 add_plain_test(texturing, 'gen-nonzero-unit')
630 add_plain_test(texturing, 'gen-texsubimage')
631 add_plain_test(texturing, 'getteximage-simple')
632 add_plain_test(texturing, 'levelclamp')
633 add_plain_test(texturing, 'lodbias')
634 add_plain_test(texturing, 'lodclamp')
635 add_plain_test(texturing, 'lodclamp-between')
636 add_plain_test(texturing, 'lodclamp-between-max')
637 add_plain_test(texturing, 'mipmap-setup')
638 add_plain_test(texturing, 'rg-draw-pixels')
639 add_plain_test(texturing, 's3tc-teximage')
640 add_plain_test(texturing, 's3tc-texsubimage')
641 add_plain_test(texturing, 'streaming-texture-leak')
642 add_plain_test(texturing, 'tex-border-1')
643 add_plain_test(texturing, 'tex-swizzle')
644 add_plain_test(texturing, 'tex3d')
645 add_plain_test(texturing, 'tex3d-npot')
646 add_plain_test(texturing, 'texdepth')
647 add_plain_test(texturing, 'texrect-many')
648 add_plain_test(texturing, 'texredefine')
649 add_plain_test(texturing, 'texture-integer')
650 add_plain_test(texturing, 'tfp')
651 add_plain_test(texturing, 'depth-tex-modes')
652 add_plain_test(texturing, 'depth-tex-modes-glsl')
653 add_plain_test(texturing, 'depth-tex-compare')
655 spec = Group();
656 arb_color_buffer_float = Group()
657 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-getteximage')
658 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-queries')
659 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-readpixels')
660 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-probepixel')
661 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-drawpixels')
662 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-clear')
663 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-render')
664 add_plain_test(arb_color_buffer_float, 'arb_color_buffer_float-mrt')
665 spec['ARB_color_buffer_float'] = arb_color_buffer_float
668 # Include the glsl parser tests from glslparser.tests.
669 def add_glslparsertest(shader, result):
670 glslparsertest[shader] = PlainExecTest(['glslparsertest', 'tests/glslparsertest/shaders/' + shader, result])
671 def add_otherglslparsertest(shader, result, min_glsl_version = '1.10'):
672 glslparsertest[shader] = PlainExecTest(['glslparsertest', 'tests/glslparsertest/' + shader, result, min_glsl_version])
673 execfile(os.path.dirname(__file__) + '/glslparser.tests')
675 asmparsertest = Group()
676 def add_asmparsertest(group, shader):
677 asmparsertest[group + '/' + shader] = PlainExecTest(['asmparsertest', '-auto', group, 'tests/asmparsertest/shaders/' + group + '/' + shader])
679 add_asmparsertest('ARBfp1.0', 'abs-01.txt')
680 add_asmparsertest('ARBfp1.0', 'abs-02.txt')
681 add_asmparsertest('ARBfp1.0', 'abs-03.txt')
682 add_asmparsertest('ARBfp1.0', 'condition_code-01.txt')
683 add_asmparsertest('ARBfp1.0', 'cos-01.txt')
684 add_asmparsertest('ARBfp1.0', 'cos-02.txt')
685 add_asmparsertest('ARBfp1.0', 'cos-03.txt')
686 add_asmparsertest('ARBfp1.0', 'cos-04.txt')
687 add_asmparsertest('ARBfp1.0', 'cos-05.txt')
688 add_asmparsertest('ARBfp1.0', 'ddx-01.txt')
689 add_asmparsertest('ARBfp1.0', 'ddx-02.txt')
690 add_asmparsertest('ARBfp1.0', 'ddy-01.txt')
691 add_asmparsertest('ARBfp1.0', 'ddy-02.txt')
692 add_asmparsertest('ARBfp1.0', 'depth_range-01.txt')
693 add_asmparsertest('ARBfp1.0', 'fog-01.txt')
694 add_asmparsertest('ARBfp1.0', 'fog-02.txt')
695 add_asmparsertest('ARBfp1.0', 'fog-03.txt')
696 add_asmparsertest('ARBfp1.0', 'fog-04.txt')
697 add_asmparsertest('ARBfp1.0', 'option-01.txt')
698 add_asmparsertest('ARBfp1.0', 'precision_hint-01.txt')
699 add_asmparsertest('ARBfp1.0', 'precision_hint-02.txt')
700 add_asmparsertest('ARBfp1.0', 'precision_hint-03.txt')
701 add_asmparsertest('ARBfp1.0', 'precision_hint-04.txt')
702 add_asmparsertest('ARBfp1.0', 'precision_hint-05.txt')
703 add_asmparsertest('ARBfp1.0', 'reserved_words-01.txt')
704 add_asmparsertest('ARBfp1.0', 'result-01.txt')
705 add_asmparsertest('ARBfp1.0', 'result-02.txt')
706 add_asmparsertest('ARBfp1.0', 'result-03.txt')
707 add_asmparsertest('ARBfp1.0', 'result-04.txt')
708 add_asmparsertest('ARBfp1.0', 'result-05.txt')
709 add_asmparsertest('ARBfp1.0', 'result-06.txt')
710 add_asmparsertest('ARBfp1.0', 'result-07.txt')
711 add_asmparsertest('ARBfp1.0', 'result-08.txt')
712 add_asmparsertest('ARBfp1.0', 'result-09.txt')
713 add_asmparsertest('ARBfp1.0', 'result-10.txt')
714 add_asmparsertest('ARBfp1.0', 'result-11.txt')
715 add_asmparsertest('ARBfp1.0', 'shadow-01.txt')
716 add_asmparsertest('ARBfp1.0', 'shadow-02.txt')
717 add_asmparsertest('ARBfp1.0', 'shadow-03.txt')
718 add_asmparsertest('ARBfp1.0', 'sincos-01.txt')
719 add_asmparsertest('ARBfp1.0', 'sincos-02.txt')
720 add_asmparsertest('ARBfp1.0', 'sincos-03.txt')
721 add_asmparsertest('ARBfp1.0', 'sincos-04.txt')
722 add_asmparsertest('ARBfp1.0', 'size_specifier-01.txt')
723 add_asmparsertest('ARBfp1.0', 'size_specifier-02.txt')
724 add_asmparsertest('ARBfp1.0', 'size_specifier-03.txt')
725 add_asmparsertest('ARBfp1.0', 'size_specifier-04.txt')
726 add_asmparsertest('ARBfp1.0', 'size_specifier-05.txt')
727 add_asmparsertest('ARBfp1.0', 'size_specifier-06.txt')
728 add_asmparsertest('ARBfp1.0', 'size_specifier-07.txt')
729 add_asmparsertest('ARBfp1.0', 'size_specifier-08.txt')
730 add_asmparsertest('ARBfp1.0', 'size_specifier-09.txt')
731 add_asmparsertest('ARBfp1.0', 'size_specifier-10.txt')
732 add_asmparsertest('ARBfp1.0', 'size_specifier-11.txt')
733 add_asmparsertest('ARBfp1.0', 'size_specifier-12.txt')
734 add_asmparsertest('ARBfp1.0', 'size_specifier-13.txt')
735 add_asmparsertest('ARBfp1.0', 'size_specifier-14.txt')
736 add_asmparsertest('ARBfp1.0', 'size_specifier-15.txt')
737 add_asmparsertest('ARBfp1.0', 'size_specifier-16.txt')
738 add_asmparsertest('ARBfp1.0', 'size_specifier-17.txt')
739 add_asmparsertest('ARBfp1.0', 'size_specifier-18.txt')
740 add_asmparsertest('ARBfp1.0', 'size_specifier-19.txt')
741 add_asmparsertest('ARBfp1.0', 'size_specifier-20.txt')
742 add_asmparsertest('ARBfp1.0', 'size_specifier-21.txt')
743 add_asmparsertest('ARBfp1.0', 'size_specifier-22.txt')
744 add_asmparsertest('ARBfp1.0', 'size_specifier-23.txt')
745 add_asmparsertest('ARBfp1.0', 'size_specifier-24.txt')
746 add_asmparsertest('ARBfp1.0', 'size_specifier-25.txt')
747 add_asmparsertest('ARBfp1.0', 'size_specifier-26.txt')
748 add_asmparsertest('ARBfp1.0', 'size_specifier-27.txt')
749 add_asmparsertest('ARBfp1.0', 'size_specifier-28.txt')
750 add_asmparsertest('ARBfp1.0', 'size_specifier-29.txt')
751 add_asmparsertest('ARBfp1.0', 'size_specifier-30.txt')
752 add_asmparsertest('ARBfp1.0', 'size_specifier-31.txt')
753 add_asmparsertest('ARBfp1.0', 'size_specifier-32.txt')
754 add_asmparsertest('ARBfp1.0', 'size_specifier-33.txt')
755 add_asmparsertest('ARBfp1.0', 'size_specifier-34.txt')
756 add_asmparsertest('ARBfp1.0', 'size_specifier-35.txt')
757 add_asmparsertest('ARBfp1.0', 'size_specifier-36.txt')
758 add_asmparsertest('ARBfp1.0', 'size_specifier-37.txt')
759 add_asmparsertest('ARBfp1.0', 'size_specifier-38.txt')
760 add_asmparsertest('ARBfp1.0', 'size_specifier-39.txt')
761 add_asmparsertest('ARBfp1.0', 'size_specifier-40.txt')
762 add_asmparsertest('ARBfp1.0', 'size_specifier-41.txt')
763 add_asmparsertest('ARBfp1.0', 'size_specifier-42.txt')
764 add_asmparsertest('ARBfp1.0', 'size_specifier-43.txt')
765 add_asmparsertest('ARBfp1.0', 'size_specifier-44.txt')
766 add_asmparsertest('ARBfp1.0', 'size_specifier-45.txt')
767 add_asmparsertest('ARBfp1.0', 'size_specifier-46.txt')
768 add_asmparsertest('ARBfp1.0', 'size_specifier-47.txt')
769 add_asmparsertest('ARBfp1.0', 'size_specifier-48.txt')
770 add_asmparsertest('ARBfp1.0', 'size_specifier-49.txt')
771 add_asmparsertest('ARBfp1.0', 'size_specifier-50.txt')
772 add_asmparsertest('ARBfp1.0', 'size_specifier-51.txt')
773 add_asmparsertest('ARBfp1.0', 'size_specifier-52.txt')
774 add_asmparsertest('ARBfp1.0', 'size_specifier-53.txt')
775 add_asmparsertest('ARBfp1.0', 'size_specifier-54.txt')
776 add_asmparsertest('ARBfp1.0', 'size_specifier-55.txt')
777 add_asmparsertest('ARBfp1.0', 'size_specifier-56.txt')
778 add_asmparsertest('ARBfp1.0', 'size_specifier-57.txt')
779 add_asmparsertest('ARBfp1.0', 'size_specifier-58.txt')
780 add_asmparsertest('ARBfp1.0', 'size_specifier-59.txt')
781 add_asmparsertest('ARBfp1.0', 'size_specifier-60.txt')
782 add_asmparsertest('ARBfp1.0', 'size_specifier-61.txt')
783 add_asmparsertest('ARBfp1.0', 'size_specifier-62.txt')
784 add_asmparsertest('ARBfp1.0', 'size_specifier-63.txt')
785 add_asmparsertest('ARBfp1.0', 'size_specifier-64.txt')
786 add_asmparsertest('ARBfp1.0', 'size_specifier-65.txt')
787 add_asmparsertest('ARBfp1.0', 'size_specifier-66.txt')
788 add_asmparsertest('ARBfp1.0', 'size_specifier-67.txt')
789 add_asmparsertest('ARBfp1.0', 'size_specifier-68.txt')
790 add_asmparsertest('ARBfp1.0', 'size_specifier-69.txt')
791 add_asmparsertest('ARBfp1.0', 'size_specifier-70.txt')
792 add_asmparsertest('ARBfp1.0', 'size_specifier-71.txt')
793 add_asmparsertest('ARBfp1.0', 'size_specifier-72.txt')
794 add_asmparsertest('ARBfp1.0', 'size_specifier-73.txt')
795 add_asmparsertest('ARBfp1.0', 'size_specifier-74.txt')
796 add_asmparsertest('ARBfp1.0', 'size_specifier-75.txt')
797 add_asmparsertest('ARBfp1.0', 'size_specifier-76.txt')
798 add_asmparsertest('ARBfp1.0', 'size_specifier-77.txt')
799 add_asmparsertest('ARBfp1.0', 'size_specifier-78.txt')
800 add_asmparsertest('ARBfp1.0', 'size_specifier-79.txt')
801 add_asmparsertest('ARBfp1.0', 'size_specifier-80.txt')
802 add_asmparsertest('ARBfp1.0', 'size_specifier-81.txt')
803 add_asmparsertest('ARBfp1.0', 'size_specifier-82.txt')
804 add_asmparsertest('ARBfp1.0', 'size_specifier-83.txt')
805 add_asmparsertest('ARBfp1.0', 'size_specifier-84.txt')
806 add_asmparsertest('ARBfp1.0', 'size_specifier-85.txt')
807 add_asmparsertest('ARBfp1.0', 'size_specifier-86.txt')
808 add_asmparsertest('ARBfp1.0', 'size_specifier-87.txt')
809 add_asmparsertest('ARBfp1.0', 'size_specifier-88.txt')
810 add_asmparsertest('ARBfp1.0', 'swz-01.txt')
811 add_asmparsertest('ARBfp1.0', 'swz-02.txt')
812 add_asmparsertest('ARBfp1.0', 'swz-03.txt')
813 add_asmparsertest('ARBfp1.0', 'swz-04.txt')
814 add_asmparsertest('ARBfp1.0', 'swz-05.txt')
815 add_asmparsertest('ARBfp1.0', 'swz-06.txt')
816 add_asmparsertest('ARBfp1.0', 'swz-07.txt')
817 add_asmparsertest('ARBfp1.0', 'txd-01.txt')
818 add_asmparsertest('ARBfp1.0', 'txd-02.txt')
819 add_asmparsertest('ARBfp1.0', 'txd-03.txt')
821 add_asmparsertest('ARBvp1.0', 'abs-02.txt')
822 add_asmparsertest('ARBvp1.0', 'abs-03.txt')
823 add_asmparsertest('ARBvp1.0', 'abs.txt')
824 add_asmparsertest('ARBvp1.0', 'address-01.txt')
825 add_asmparsertest('ARBvp1.0', 'address-02.txt')
826 add_asmparsertest('ARBvp1.0', 'address-03.txt')
827 add_asmparsertest('ARBvp1.0', 'address-04.txt')
828 add_asmparsertest('ARBvp1.0', 'address-05.txt')
829 add_asmparsertest('ARBvp1.0', 'address-06.txt')
830 add_asmparsertest('ARBvp1.0', 'address-07.txt')
831 add_asmparsertest('ARBvp1.0', 'address-08.txt')
832 add_asmparsertest('ARBvp1.0', 'address-09.txt')
833 add_asmparsertest('ARBvp1.0', 'address-10.txt')
834 add_asmparsertest('ARBvp1.0', 'address-11.txt')
835 add_asmparsertest('ARBvp1.0', 'add.txt')
836 add_asmparsertest('ARBvp1.0', 'alias-01.txt')
837 add_asmparsertest('ARBvp1.0', 'alias-02.txt')
838 add_asmparsertest('ARBvp1.0', 'all_state-01.txt')
839 add_asmparsertest('ARBvp1.0', 'all_state-02.txt')
840 add_asmparsertest('ARBvp1.0', 'all_state-03.txt')
841 add_asmparsertest('ARBvp1.0', 'all_state-04.txt')
842 add_asmparsertest('ARBvp1.0', 'all_state-05.txt')
843 add_asmparsertest('ARBvp1.0', 'all_state-06.txt')
844 add_asmparsertest('ARBvp1.0', 'all_state-07.txt')
845 add_asmparsertest('ARBvp1.0', 'all_state-08.txt')
846 add_asmparsertest('ARBvp1.0', 'all_state-09.txt')
847 add_asmparsertest('ARBvp1.0', 'all_state-10.txt')
848 add_asmparsertest('ARBvp1.0', 'all_state-11.txt')
849 add_asmparsertest('ARBvp1.0', 'all_state-12.txt')
850 add_asmparsertest('ARBvp1.0', 'all_state-13.txt')
851 add_asmparsertest('ARBvp1.0', 'all_state-14.txt')
852 add_asmparsertest('ARBvp1.0', 'all_state-15.txt')
853 add_asmparsertest('ARBvp1.0', 'all_state-16.txt')
854 add_asmparsertest('ARBvp1.0', 'all_state-17.txt')
855 add_asmparsertest('ARBvp1.0', 'all_state-18.txt')
856 add_asmparsertest('ARBvp1.0', 'ara-01.txt')
857 add_asmparsertest('ARBvp1.0', 'ara-02.txt')
858 add_asmparsertest('ARBvp1.0', 'ara-03.txt')
859 add_asmparsertest('ARBvp1.0', 'ara-04.txt')
860 add_asmparsertest('ARBvp1.0', 'arbfp.txt')
861 add_asmparsertest('ARBvp1.0', 'arl-01.txt')
862 add_asmparsertest('ARBvp1.0', 'arl-02.txt')
863 add_asmparsertest('ARBvp1.0', 'arl-03.txt')
864 add_asmparsertest('ARBvp1.0', 'arl-04.txt')
865 add_asmparsertest('ARBvp1.0', 'arl-05.txt')
866 add_asmparsertest('ARBvp1.0', 'array_range-01.txt')
867 add_asmparsertest('ARBvp1.0', 'array_range-02.txt')
868 add_asmparsertest('ARBvp1.0', 'array_range-03.txt')
869 add_asmparsertest('ARBvp1.0', 'array_range-04.txt')
870 add_asmparsertest('ARBvp1.0', 'array_range-05.txt')
871 add_asmparsertest('ARBvp1.0', 'array_range-06.txt')
872 add_asmparsertest('ARBvp1.0', 'array_range-07.txt')
873 add_asmparsertest('ARBvp1.0', 'astack-01.txt')
874 add_asmparsertest('ARBvp1.0', 'astack-02.txt')
875 add_asmparsertest('ARBvp1.0', 'astack-03.txt')
876 add_asmparsertest('ARBvp1.0', 'astack-04.txt')
877 add_asmparsertest('ARBvp1.0', 'astack-05.txt')
878 add_asmparsertest('ARBvp1.0', 'astack-06.txt')
879 add_asmparsertest('ARBvp1.0', 'astack-07.txt')
880 add_asmparsertest('ARBvp1.0', 'astack-08.txt')
881 add_asmparsertest('ARBvp1.0', 'astack-09.txt')
882 add_asmparsertest('ARBvp1.0', 'attrib-01.txt')
883 add_asmparsertest('ARBvp1.0', 'attrib-02.txt')
884 add_asmparsertest('ARBvp1.0', 'attrib-03.txt')
885 add_asmparsertest('ARBvp1.0', 'attrib-04.txt')
886 add_asmparsertest('ARBvp1.0', 'bra-01.txt')
887 add_asmparsertest('ARBvp1.0', 'bra-02.txt')
888 add_asmparsertest('ARBvp1.0', 'bra-03.txt')
889 add_asmparsertest('ARBvp1.0', 'clipdistance-01.txt')
890 add_asmparsertest('ARBvp1.0', 'clipdistance-02.txt')
891 add_asmparsertest('ARBvp1.0', 'clipdistance-03.txt')
892 add_asmparsertest('ARBvp1.0', 'clipdistance-04.txt')
893 add_asmparsertest('ARBvp1.0', 'cos-01.txt')
894 add_asmparsertest('ARBvp1.0', 'cos-02.txt')
895 add_asmparsertest('ARBvp1.0', 'cos-03.txt')
896 add_asmparsertest('ARBvp1.0', 'dp3.txt')
897 add_asmparsertest('ARBvp1.0', 'dp4.txt')
898 add_asmparsertest('ARBvp1.0', 'dph.txt')
899 add_asmparsertest('ARBvp1.0', 'dst.txt')
900 add_asmparsertest('ARBvp1.0', 'ex2.txt')
901 add_asmparsertest('ARBvp1.0', 'flr.txt')
902 add_asmparsertest('ARBvp1.0', 'frc.txt')
903 add_asmparsertest('ARBvp1.0', 'issue-70.txt')
904 add_asmparsertest('ARBvp1.0', 'issue-74.txt')
905 add_asmparsertest('ARBvp1.0', 'issue-75.txt')
906 add_asmparsertest('ARBvp1.0', 'lg2.txt')
907 add_asmparsertest('ARBvp1.0', 'lit.txt')
908 add_asmparsertest('ARBvp1.0', 'mad.txt')
909 add_asmparsertest('ARBvp1.0', 'matrix-01.txt')
910 add_asmparsertest('ARBvp1.0', 'max.txt')
911 add_asmparsertest('ARBvp1.0', 'min.txt')
912 add_asmparsertest('ARBvp1.0', 'mov.txt')
913 add_asmparsertest('ARBvp1.0', 'mul.txt')
914 add_asmparsertest('ARBvp1.0', 'numbers-01.txt')
915 add_asmparsertest('ARBvp1.0', 'numbers-02.txt')
916 add_asmparsertest('ARBvp1.0', 'numbers-03.txt')
917 add_asmparsertest('ARBvp1.0', 'numbers-04.txt')
918 add_asmparsertest('ARBvp1.0', 'numbers-05.txt')
919 add_asmparsertest('ARBvp1.0', 'numbers-06.txt')
920 add_asmparsertest('ARBvp1.0', 'numbers-07.txt')
921 add_asmparsertest('ARBvp1.0', 'option-01.txt')
922 add_asmparsertest('ARBvp1.0', 'output-01.txt')
923 add_asmparsertest('ARBvp1.0', 'output-02.txt')
924 add_asmparsertest('ARBvp1.0', 'param-01.txt')
925 add_asmparsertest('ARBvp1.0', 'param-02.txt')
926 add_asmparsertest('ARBvp1.0', 'param-03.txt')
927 add_asmparsertest('ARBvp1.0', 'param-04.txt')
928 add_asmparsertest('ARBvp1.0', 'param-05.txt')
929 add_asmparsertest('ARBvp1.0', 'param-06.txt')
930 add_asmparsertest('ARBvp1.0', 'param-07.txt')
931 add_asmparsertest('ARBvp1.0', 'param-08.txt')
932 add_asmparsertest('ARBvp1.0', 'position_invariant-01.txt')
933 add_asmparsertest('ARBvp1.0', 'position_invariant-02.txt')
934 add_asmparsertest('ARBvp1.0', 'pow.txt')
935 add_asmparsertest('ARBvp1.0', 'rcp-01.txt')
936 add_asmparsertest('ARBvp1.0', 'rcp-02.txt')
937 add_asmparsertest('ARBvp1.0', 'rcp-03.txt')
938 add_asmparsertest('ARBvp1.0', 'rcp-04.txt')
939 add_asmparsertest('ARBvp1.0', 'rcp-05.txt')
940 add_asmparsertest('ARBvp1.0', 'rcp-06.txt')
941 add_asmparsertest('ARBvp1.0', 'rcp-07.txt')
942 add_asmparsertest('ARBvp1.0', 'reserved_word-01.txt')
943 add_asmparsertest('ARBvp1.0', 'result-01.txt')
944 add_asmparsertest('ARBvp1.0', 'result-02.txt')
945 add_asmparsertest('ARBvp1.0', 'rsq.txt')
946 add_asmparsertest('ARBvp1.0', 'seq-01.txt')
947 add_asmparsertest('ARBvp1.0', 'seq-02.txt')
948 add_asmparsertest('ARBvp1.0', 'sfl-01.txt')
949 add_asmparsertest('ARBvp1.0', 'sfl-02.txt')
950 add_asmparsertest('ARBvp1.0', 'sge.txt')
951 add_asmparsertest('ARBvp1.0', 'sgt-01.txt')
952 add_asmparsertest('ARBvp1.0', 'sgt-02.txt')
953 add_asmparsertest('ARBvp1.0', 'sin-01.txt')
954 add_asmparsertest('ARBvp1.0', 'sin-02.txt')
955 add_asmparsertest('ARBvp1.0', 'sin-03.txt')
956 add_asmparsertest('ARBvp1.0', 'sle-01.txt')
957 add_asmparsertest('ARBvp1.0', 'sle-02.txt')
958 add_asmparsertest('ARBvp1.0', 'slt.txt')
959 add_asmparsertest('ARBvp1.0', 'sne-01.txt')
960 add_asmparsertest('ARBvp1.0', 'sne-02.txt')
961 add_asmparsertest('ARBvp1.0', 'ssg-01.txt')
962 add_asmparsertest('ARBvp1.0', 'ssg-02.txt')
963 add_asmparsertest('ARBvp1.0', 'str-01.txt')
964 add_asmparsertest('ARBvp1.0', 'str-02.txt')
965 add_asmparsertest('ARBvp1.0', 'sub.txt')
966 add_asmparsertest('ARBvp1.0', 'swz-01.txt')
967 add_asmparsertest('ARBvp1.0', 'swz-02.txt')
968 add_asmparsertest('ARBvp1.0', 'swz-03.txt')
969 add_asmparsertest('ARBvp1.0', 'swz-04.txt')
970 add_asmparsertest('ARBvp1.0', 'swz-05.txt')
971 add_asmparsertest('ARBvp1.0', 'tex-01.txt')
972 add_asmparsertest('ARBvp1.0', 'tex-02.txt')
973 add_asmparsertest('ARBvp1.0', 'tex-03.txt')
974 add_asmparsertest('ARBvp1.0', 'tex-04.txt')
975 add_asmparsertest('ARBvp1.0', 'tex-05.txt')
976 add_asmparsertest('ARBvp1.0', 'tex-06.txt')
977 add_asmparsertest('ARBvp1.0', 'tex-07.txt')
978 add_asmparsertest('ARBvp1.0', 'tex-08.txt')
979 add_asmparsertest('ARBvp1.0', 'tex-09.txt')
980 add_asmparsertest('ARBvp1.0', 'tex-10.txt')
981 add_asmparsertest('ARBvp1.0', 'tex-11.txt')
982 add_asmparsertest('ARBvp1.0', 'tex-12.txt')
983 add_asmparsertest('ARBvp1.0', 'tex-13.txt')
984 add_asmparsertest('ARBvp1.0', 'tex-14.txt')
985 add_asmparsertest('ARBvp1.0', 'tex-15.txt')
986 add_asmparsertest('ARBvp1.0', 'tex-16.txt')
987 add_asmparsertest('ARBvp1.0', 'tex-17.txt')
988 add_asmparsertest('ARBvp1.0', 'tex-18.txt')
989 add_asmparsertest('ARBvp1.0', 'tex-19.txt')
990 add_asmparsertest('ARBvp1.0', 'tex-20.txt')
991 add_asmparsertest('ARBvp1.0', 'txb-01.txt')
992 add_asmparsertest('ARBvp1.0', 'txb-02.txt')
993 add_asmparsertest('ARBvp1.0', 'txb-03.txt')
994 add_asmparsertest('ARBvp1.0', 'txb-04.txt')
995 add_asmparsertest('ARBvp1.0', 'txb-05.txt')
996 add_asmparsertest('ARBvp1.0', 'txb-06.txt')
997 add_asmparsertest('ARBvp1.0', 'txb-07.txt')
998 add_asmparsertest('ARBvp1.0', 'txb-08.txt')
999 add_asmparsertest('ARBvp1.0', 'txb-09.txt')
1000 add_asmparsertest('ARBvp1.0', 'txb-10.txt')
1001 add_asmparsertest('ARBvp1.0', 'txb-11.txt')
1002 add_asmparsertest('ARBvp1.0', 'txb-12.txt')
1003 add_asmparsertest('ARBvp1.0', 'txb-13.txt')
1004 add_asmparsertest('ARBvp1.0', 'txb-14.txt')
1005 add_asmparsertest('ARBvp1.0', 'txb-15.txt')
1006 add_asmparsertest('ARBvp1.0', 'txb-16.txt')
1007 add_asmparsertest('ARBvp1.0', 'txb-17.txt')
1008 add_asmparsertest('ARBvp1.0', 'txb-18.txt')
1009 add_asmparsertest('ARBvp1.0', 'txb-19.txt')
1010 add_asmparsertest('ARBvp1.0', 'txb-20.txt')
1011 add_asmparsertest('ARBvp1.0', 'txd-01.txt')
1012 add_asmparsertest('ARBvp1.0', 'txd-02.txt')
1013 add_asmparsertest('ARBvp1.0', 'txd-03.txt')
1014 add_asmparsertest('ARBvp1.0', 'txd-04.txt')
1015 add_asmparsertest('ARBvp1.0', 'txd-05.txt')
1016 add_asmparsertest('ARBvp1.0', 'txd-06.txt')
1017 add_asmparsertest('ARBvp1.0', 'txd-07.txt')
1018 add_asmparsertest('ARBvp1.0', 'txd-08.txt')
1019 add_asmparsertest('ARBvp1.0', 'txd-09.txt')
1020 add_asmparsertest('ARBvp1.0', 'txd-10.txt')
1021 add_asmparsertest('ARBvp1.0', 'txd-11.txt')
1022 add_asmparsertest('ARBvp1.0', 'txd-12.txt')
1023 add_asmparsertest('ARBvp1.0', 'txd-13.txt')
1024 add_asmparsertest('ARBvp1.0', 'txd-14.txt')
1025 add_asmparsertest('ARBvp1.0', 'txd-15.txt')
1026 add_asmparsertest('ARBvp1.0', 'txd-16.txt')
1027 add_asmparsertest('ARBvp1.0', 'txd-17.txt')
1028 add_asmparsertest('ARBvp1.0', 'txd-18.txt')
1029 add_asmparsertest('ARBvp1.0', 'txd-19.txt')
1030 add_asmparsertest('ARBvp1.0', 'txd-20.txt')
1031 add_asmparsertest('ARBvp1.0', 'txf-01.txt')
1032 add_asmparsertest('ARBvp1.0', 'txf-02.txt')
1033 add_asmparsertest('ARBvp1.0', 'txf-03.txt')
1034 add_asmparsertest('ARBvp1.0', 'txf-04.txt')
1035 add_asmparsertest('ARBvp1.0', 'txf-05.txt')
1036 add_asmparsertest('ARBvp1.0', 'txf-06.txt')
1037 add_asmparsertest('ARBvp1.0', 'txf-07.txt')
1038 add_asmparsertest('ARBvp1.0', 'txf-08.txt')
1039 add_asmparsertest('ARBvp1.0', 'txf-09.txt')
1040 add_asmparsertest('ARBvp1.0', 'txf-10.txt')
1041 add_asmparsertest('ARBvp1.0', 'txf-11.txt')
1042 add_asmparsertest('ARBvp1.0', 'txf-12.txt')
1043 add_asmparsertest('ARBvp1.0', 'txf-13.txt')
1044 add_asmparsertest('ARBvp1.0', 'txf-14.txt')
1045 add_asmparsertest('ARBvp1.0', 'txf-15.txt')
1046 add_asmparsertest('ARBvp1.0', 'txf-16.txt')
1047 add_asmparsertest('ARBvp1.0', 'txf-17.txt')
1048 add_asmparsertest('ARBvp1.0', 'txf-18.txt')
1049 add_asmparsertest('ARBvp1.0', 'txf-19.txt')
1050 add_asmparsertest('ARBvp1.0', 'txf-20.txt')
1051 add_asmparsertest('ARBvp1.0', 'txl-01.txt')
1052 add_asmparsertest('ARBvp1.0', 'txl-02.txt')
1053 add_asmparsertest('ARBvp1.0', 'txl-03.txt')
1054 add_asmparsertest('ARBvp1.0', 'txl-04.txt')
1055 add_asmparsertest('ARBvp1.0', 'txl-05.txt')
1056 add_asmparsertest('ARBvp1.0', 'txl-06.txt')
1057 add_asmparsertest('ARBvp1.0', 'txl-07.txt')
1058 add_asmparsertest('ARBvp1.0', 'txl-08.txt')
1059 add_asmparsertest('ARBvp1.0', 'txl-09.txt')
1060 add_asmparsertest('ARBvp1.0', 'txl-10.txt')
1061 add_asmparsertest('ARBvp1.0', 'txl-11.txt')
1062 add_asmparsertest('ARBvp1.0', 'txl-12.txt')
1063 add_asmparsertest('ARBvp1.0', 'txl-13.txt')
1064 add_asmparsertest('ARBvp1.0', 'txl-14.txt')
1065 add_asmparsertest('ARBvp1.0', 'txl-15.txt')
1066 add_asmparsertest('ARBvp1.0', 'txl-16.txt')
1067 add_asmparsertest('ARBvp1.0', 'txl-17.txt')
1068 add_asmparsertest('ARBvp1.0', 'txl-18.txt')
1069 add_asmparsertest('ARBvp1.0', 'txl-19.txt')
1070 add_asmparsertest('ARBvp1.0', 'txl-20.txt')
1071 add_asmparsertest('ARBvp1.0', 'txp-01.txt')
1072 add_asmparsertest('ARBvp1.0', 'txp-02.txt')
1073 add_asmparsertest('ARBvp1.0', 'txp-03.txt')
1074 add_asmparsertest('ARBvp1.0', 'txp-04.txt')
1075 add_asmparsertest('ARBvp1.0', 'txp-05.txt')
1076 add_asmparsertest('ARBvp1.0', 'txp-06.txt')
1077 add_asmparsertest('ARBvp1.0', 'txp-07.txt')
1078 add_asmparsertest('ARBvp1.0', 'txp-08.txt')
1079 add_asmparsertest('ARBvp1.0', 'txp-09.txt')
1080 add_asmparsertest('ARBvp1.0', 'txp-10.txt')
1081 add_asmparsertest('ARBvp1.0', 'txp-11.txt')
1082 add_asmparsertest('ARBvp1.0', 'txp-12.txt')
1083 add_asmparsertest('ARBvp1.0', 'txp-13.txt')
1084 add_asmparsertest('ARBvp1.0', 'txp-14.txt')
1085 add_asmparsertest('ARBvp1.0', 'txp-15.txt')
1086 add_asmparsertest('ARBvp1.0', 'txp-16.txt')
1087 add_asmparsertest('ARBvp1.0', 'txp-17.txt')
1088 add_asmparsertest('ARBvp1.0', 'txp-18.txt')
1089 add_asmparsertest('ARBvp1.0', 'txp-19.txt')
1090 add_asmparsertest('ARBvp1.0', 'txp-20.txt')
1091 add_asmparsertest('ARBvp1.0', 'txq-01.txt')
1092 add_asmparsertest('ARBvp1.0', 'txq-02.txt')
1093 add_asmparsertest('ARBvp1.0', 'txq-03.txt')
1094 add_asmparsertest('ARBvp1.0', 'txq-04.txt')
1095 add_asmparsertest('ARBvp1.0', 'txq-05.txt')
1096 add_asmparsertest('ARBvp1.0', 'txq-06.txt')
1097 add_asmparsertest('ARBvp1.0', 'txq-07.txt')
1098 add_asmparsertest('ARBvp1.0', 'txq-08.txt')
1099 add_asmparsertest('ARBvp1.0', 'txq-09.txt')
1100 add_asmparsertest('ARBvp1.0', 'txq-10.txt')
1101 add_asmparsertest('ARBvp1.0', 'txq-11.txt')
1102 add_asmparsertest('ARBvp1.0', 'txq-12.txt')
1103 add_asmparsertest('ARBvp1.0', 'txq-13.txt')
1104 add_asmparsertest('ARBvp1.0', 'txq-14.txt')
1105 add_asmparsertest('ARBvp1.0', 'txq-15.txt')
1106 add_asmparsertest('ARBvp1.0', 'txq-16.txt')
1107 add_asmparsertest('ARBvp1.0', 'txq-17.txt')
1108 add_asmparsertest('ARBvp1.0', 'txq-18.txt')
1109 add_asmparsertest('ARBvp1.0', 'txq-19.txt')
1110 add_asmparsertest('ARBvp1.0', 'txq-20.txt')
1111 add_asmparsertest('ARBvp1.0', 'xpd.txt')
1113 profile.tests['bugs'] = bugs
1114 profile.tests['general'] = general
1115 profile.tests['fbo'] = fbo
1116 profile.tests['glean'] = glean
1117 profile.tests['glslparsertest'] = glslparsertest
1118 profile.tests['asmparsertest'] = asmparsertest
1119 profile.tests['mesa'] = mesa
1120 profile.tests['shaders'] = shaders
1121 profile.tests['texturing'] = texturing
1122 profile.tests['spec'] = spec
1123 profile.tests['glx'] = glx
1125 class ValgrindExecTest(PlainExecTest):
1126 def __init__(self, test):
1127 Test.__init__(self)
1128 self.command = [os.path.dirname(__file__)+'/valgrind-test/valgrind-test'] + test.command
1129 self.env = {}
1131 valgrind = Group()
1132 for groupname, group in sorted(profile.tests.iteritems()):
1133 for testname, test in sorted(group.iteritems()):
1134 if issubclass(test.__class__, PlainExecTest):
1135 valgrind[groupname+"/"+testname] = ValgrindExecTest(test)
1137 profile.tests['valgrind'] = valgrind
1139 #############
1140 # Some Mesa diagnostic messages that we should probably ignore
1141 Test.ignoreErrors.append(re.compile("couldn't open libtxc_dxtn.so"))
1142 Test.ignoreErrors.append(re.compile("compression/decompression available"))
1143 Test.ignoreErrors.append(re.compile("Mesa: .*build"))
1144 Test.ignoreErrors.append(re.compile("Mesa: CPU.*"))
1145 Test.ignoreErrors.append(re.compile("Mesa: .*cpu detected."))
1146 Test.ignoreErrors.append(re.compile("Mesa: Test.*"))
1147 Test.ignoreErrors.append(re.compile("Mesa: Yes.*"))
1148 Test.ignoreErrors.append(re.compile("libGL: XF86DRIGetClientDriverName.*"))
1149 Test.ignoreErrors.append(re.compile("libGL: OpenDriver: trying.*"))
1150 Test.ignoreErrors.append(re.compile("libGL: Warning in.*drirc*"))
1151 Test.ignoreErrors.append(re.compile("ATTENTION.*value of option.*"))
1152 Test.ignoreErrors.append(re.compile("drmOpen.*"))
1153 Test.ignoreErrors.append(re.compile("Mesa: Not testing OS support.*"))
1154 Test.ignoreErrors.append(re.compile("Mesa: User error:.*"))
1155 Test.ignoreErrors.append(re.compile("Mesa: Initializing .* optimizations"))
1156 Test.ignoreErrors.append(re.compile("debug_get_.*"))
1157 Test.ignoreErrors.append(re.compile("util_cpu_caps.*"))
1158 Test.ignoreErrors.append(re.compile("Mesa: 3Dnow! detected"))
1159 Test.ignoreErrors.append(re.compile("r300:.*"))
1160 Test.ignoreErrors.append(re.compile("radeon:.*"))
1161 Test.ignoreErrors.append(re.compile("Warning:.*"))
1162 Test.ignoreErrors.append(re.compile("0 errors, .*"))
1163 Test.ignoreErrors.append(re.compile("Mesa.*"))
1164 Test.ignoreErrors.append(re.compile("no rrb"))
1165 Test.ignoreErrors.append(re.compile("; ModuleID.*"))
1166 Test.ignoreErrors.append(re.compile("%.*"))
1167 Test.ignoreErrors.append(re.compile(".*failed to translate tgsi opcode.*to SSE"))
1168 Test.ignoreErrors.append(re.compile(".*falling back to interpreter"))