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