diff options
author | José Fonseca <[email protected]> | 2010-02-04 14:36:10 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-02-04 14:39:30 +0000 |
commit | 9cd2abdf8b7978d8a903d4aee9e2072a0c87e9ad (patch) | |
tree | 504f24f583cbf657adc7fb6ad3283e192203fb4e /src | |
parent | 5cf88a4787555e1cf754adc665880a35130f625c (diff) |
llvmpipe: Disable unit tests on embedded platforms.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/SConscript | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index 6bb545a501f..563220f17fe 100644 --- a/src/gallium/drivers/llvmpipe/SConscript +++ b/src/gallium/drivers/llvmpipe/SConscript @@ -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') |