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