summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/tests/unit/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/tests/unit/SConscript')
-rw-r--r--lib/mesa/src/gallium/tests/unit/SConscript12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/mesa/src/gallium/tests/unit/SConscript b/lib/mesa/src/gallium/tests/unit/SConscript
index 065080401..a816e2fea 100644
--- a/lib/mesa/src/gallium/tests/unit/SConscript
+++ b/lib/mesa/src/gallium/tests/unit/SConscript
@@ -24,8 +24,10 @@ for progname in progs:
target = progname,
source = progname + '.c',
)
- if progname not in [
- 'u_cache_test', # too long
- 'translate_test', # unreliable
- ]:
- env.UnitTest(progname, prog)
+
+ env.Alias(progname, env.InstallProgram(prog))
+
+ # http://www.scons.org/wiki/UnitTests
+ test_alias = env.Alias('unit', [prog], prog[0].abspath)
+ AlwaysBuild(test_alias)
+