summaryrefslogtreecommitdiff
path: root/progs/tests/SConscript
blob: bf1e7f8a7d8d047b84b987cbeea4031cc6b1ff72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
Import('*')

if not env['GLUT']:
    Return()

env = env.Clone()

env.Prepend(CPPPATH = [
	'../util',
])

env.Prepend(LIBS = [
	util,
	'$GLUT_LIB'
])

if env['platform'] == 'windows':
    env.Append(CPPDEFINES = ['NOMINMAX'])
    env.Prepend(LIBS = ['winmm'])

linux_progs = [
    'api_speed',
]

glx_progs = [
    'auxbuffer',
    'getprocaddress',
    'jkrahntest',
    'sharedtex',
    'texcompress2',
    'texobjshare',
]

mesa_progs = [
    'debugger',
]

progs = [
    'afsmultiarb',
    'antialias',
    'arbfpspec',
    'arbfptest1',
    'arbfptexture',
    'arbfptrig',
    'arbnpot-mipmap',
    'arbnpot',
    'arbvptest1',
    'arbvptest3',
    'arbvptorus',
    'arbvpwarpmesh',
    'arraytexture',
    'blendminmax',
    'blendsquare',
    'blendxor',
    'bufferobj',
    'bug_3050',
    'bug_3101',
    'bug_3195',
    'bug_texstore_i8',
    'calibrate_rast',
    'copypixrate',
    'crossbar',
    'cva',
    'dinoshade',
    'drawbuffers',
    'exactrast',
    'ext422square',
    'fbotest1',
    'fbotest2',
    'fbotexture',
    'fillrate',
    'floattex',
    'fog',
    'fogcoord',
    'fptest1',
    'fptexture',
    'interleave',
    'invert',
    'lineclip',
    'manytex',
    'mapbufrange',
    'mapvbo',
    'minmag',
    'mipgen',
    'mipmap_limits',
    'mipmap_view',
    'multipal',
    'multitexarray',
    'multiwindow',
    'no_s3tc',
    'packedpixels',
    'pbo',
    'prog_parameter',
    'projtex',
    'quads',
    'random',
    'readrate',
    'rubberband',
    'seccolor',
    'shader_api',
    'stencil_twoside',
    'stencil_wrap',
    'stencilwrap',
    'subtex',
    'subtexrate',
    'tex1d',
    'texcmp',
    'texcompress2',
    'texfilt',
    'texgenmix',
    'texline',
    'texrect',
    'texwrap',
    'unfilledclip',
    'vao-01',
    'vao-02',
    'vparray',
    'vpeval',
    'vptest1',
    'vptest2',
    'vptest3',
    'vptorus',
    'vpwarpmesh',
    'yuvrect',
    'yuvsquare',
    'zcomp',
    'zdrawpix',
    'zreaddraw',
]

for prog in progs:
    env.Program(
        target = prog,
        source = prog + '.c',
    )