llvmpipe: Disable unit tests on embedded platforms.

This commit is contained in:
José Fonseca 2010-02-04 14:36:10 +00:00
parent 5cf88a4787
commit 9cd2abdf8b

View file

@ -73,21 +73,22 @@ llvmpipe = env.ConvenienceLibrary(
])
env = env.Clone()
if env['platform'] != 'embedded':
env = env.Clone()
env.Prepend(LIBS = [llvmpipe] + gallium)
env.Prepend(LIBS = [llvmpipe] + gallium)
tests = [
'format',
'blend',
'conv',
]
tests = [
'format',
'blend',
'conv',
]
for test in tests:
target = env.Program(
target = 'lp_test_' + test,
source = ['lp_test_' + test + '.c', 'lp_test_main.c'],
)
env.InstallProgram(target)
for test in tests:
target = env.Program(
target = 'lp_test_' + test,
source = ['lp_test_' + test + '.c', 'lp_test_main.c'],
)
env.InstallProgram(target)
Export('llvmpipe')
Export('llvmpipe')