env.Prepend(LIBS = [llvmpipe, gallium, mesautil])
tests = [
+ 'arit',
'format',
'blend',
'conv',
'printf',
]
- if not env['msvc']:
- tests.append('arit')
-
for test in tests:
testname = 'lp_test_' + test
target = env.Program(
target = testname,
source = [testname + '.c', 'lp_test_main.c'],
)
- env.InstallProgram(target)
-
- # http://www.scons.org/wiki/UnitTests
- alias = env.Alias(testname, [target], target[0].abspath)
- AlwaysBuild(alias)
+ env.UnitTest(testname, target)
Export('llvmpipe')