progs/tests: added conditional rendering test program
[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 'exactrast',
68 'ext422square',
69 'fbotest1',
70 'fbotest2',
71 'fillrate',
72 'floattex',
73 'fog',
74 'fogcoord',
75 'fptest1',
76 'fptexture',
77 'getteximage',
78 'glutfx',
79 'interleave',
80 'invert',
81 'lineclip',
82 'manytex',
83 'mapbufrange',
84 'mapvbo',
85 'minmag',
86 'mipgen',
87 'mipmap_comp',
88 'mipmap_comp_tests',
89 'mipmap_limits',
90 'mipmap_view',
91 'multipal',
92 'multitexarray',
93 'multiwindow',
94 'no_s3tc',
95 'packedpixels',
96 'pbo',
97 'persp_hint',
98 'prog_parameter',
99 'quads',
100 'random',
101 'readrate',
102 'rubberband',
103 'scissor',
104 'scissor-viewport',
105 'seccolor',
106 'shader_api',
107 'stencil_twoside',
108 'stencil_wrap',
109 'stencilwrap',
110 'streaming_rect',
111 'subtex',
112 'subtexrate',
113 'tex1d',
114 'texcmp',
115 'texcompress2',
116 'texcompsub',
117 'texdown',
118 'texfilt',
119 'texgenmix',
120 'texline',
121 'texobj',
122 'texrect',
123 'texwrap',
124 'unfilledclip',
125 'vao-01',
126 'vao-02',
127 'vparray',
128 'vpeval',
129 'vptest1',
130 'vptest2',
131 'vptest3',
132 'vptorus',
133 'vpwarpmesh',
134 'yuvrect',
135 'yuvsquare',
136 'zcomp',
137 'zdrawpix',
138 'zreaddraw',
139 ]
140
141 for prog in progs:
142 env.Program(
143 target = prog,
144 source = prog + '.c',
145 )