blob: 0650804018bedff1a4a10d010f0f27fc463415bb (
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
|
Import('*')
env = env.Clone()
env.Prepend(LIBS = [mesautil, gallium])
if env['platform'] in ('freebsd8', 'sunos'):
env.Append(LIBS = ['m'])
if env['platform'] == 'freebsd8':
env.Append(LIBS = ['pthread'])
progs = [
'pipe_barrier_test',
'u_cache_test',
'u_format_test',
'u_format_compatible_test',
'u_half_test',
'translate_test'
]
for progname in progs:
prog = env.Program(
target = progname,
source = progname + '.c',
)
if progname not in [
'u_cache_test', # too long
'translate_test', # unreliable
]:
env.UnitTest(progname, prog)
|