Browse Source

llvmpipe: Disable unit tests on embedded platforms.

tags/7.8-rc1
José Fonseca 15 years ago
parent
commit
9cd2abdf8b
1 changed files with 15 additions and 14 deletions
  1. 15
    14
      src/gallium/drivers/llvmpipe/SConscript

+ 15
- 14
src/gallium/drivers/llvmpipe/SConscript 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')

Loading…
Cancel
Save