mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 00:18:09 +02:00
23 lines
383 B
Python
23 lines
383 B
Python
Import('*')
|
|
|
|
env = env.Clone()
|
|
|
|
env.Prepend(LIBS = [gallium])
|
|
|
|
progs = [
|
|
'u_format_test',
|
|
'u_half_test'
|
|
]
|
|
|
|
for prog in progs:
|
|
prog = env.Program(
|
|
target = prog,
|
|
source = prog + '.c',
|
|
)
|
|
|
|
env.InstallProgram(prog)
|
|
|
|
# http://www.scons.org/wiki/UnitTests
|
|
test_alias = env.Alias('unit', [prog], prog[0].abspath)
|
|
AlwaysBuild(test_alias)
|
|
|