summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-04-13 13:31:04 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-04-14 07:19:04 +0100
commit50ddf03ada3cc167f7dcb6b26f82adb20162f983 (patch)
tree4a81fcbb92eeb5cb1531fee7cb346d87d276189b /src/gallium/drivers/llvmpipe
parent9ae0e8ee3cf5e422804dcecd248dc28bb5dc63dc (diff)
downloadexternal_mesa3d-50ddf03ada3cc167f7dcb6b26f82adb20162f983.zip
external_mesa3d-50ddf03ada3cc167f7dcb6b26f82adb20162f983.tar.gz
external_mesa3d-50ddf03ada3cc167f7dcb6b26f82adb20162f983.tar.bz2
scons: Add a "check" target to run all unit tests.
Except: - u_cache_test -- too long - translate_test -- unreliable (it's probably testing corner cases that translate module doesn't care about.) Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/SConscript6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript
index 8188156..fbbd22a 100644
--- a/src/gallium/drivers/llvmpipe/SConscript
+++ b/src/gallium/drivers/llvmpipe/SConscript
@@ -38,10 +38,6 @@ if not env['embedded']:
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')