From: José Fonseca Date: Thu, 4 Feb 2010 14:36:10 +0000 (+0000) Subject: llvmpipe: Disable unit tests on embedded platforms. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cd2abdf8b7978d8a903d4aee9e2072a0c87e9ad;p=mesa.git llvmpipe: Disable unit tests on embedded platforms. --- 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')