r600: don't enable depth test if there is no depth buffer
[mesa.git] / progs / gallium / unit / SConscript
1 Import('*')
2
3 env = env.Clone()
4
5 env.Prepend(LIBS = [gallium])
6
7 progs = [
8 'u_format_test'
9 ]
10
11 for prog in progs:
12 prog = env.Program(
13 target = prog,
14 source = prog + '.c',
15 )
16
17 # http://www.scons.org/wiki/UnitTests
18 test_alias = env.Alias('unit', [prog], prog[0].abspath)
19 AlwaysBuild(test_alias)
20