Mesa (master): llvmpipe: Disable unit tests on embedded platforms.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Feb 4 14:40:16 UTC 2010


Module: Mesa
Branch: master
Commit: 9cd2abdf8b7978d8a903d4aee9e2072a0c87e9ad
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cd2abdf8b7978d8a903d4aee9e2072a0c87e9ad

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Feb  4 14:36:10 2010 +0000

llvmpipe: Disable unit tests on embedded platforms.

---

 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 6bb545a..563220f 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')




More information about the mesa-commit mailing list