summaryrefslogtreecommitdiffstats
path: root/progs/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'progs/gallium')
-rw-r--r--progs/gallium/unit/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/gallium/unit/SConscript b/progs/gallium/unit/SConscript
index 7c614f628e9..9891440df6a 100644
--- a/progs/gallium/unit/SConscript
+++ b/progs/gallium/unit/SConscript
@@ -13,3 +13,8 @@ for prog in progs:
target = prog,
source = prog + '.c',
)
+
+ # http://www.scons.org/wiki/UnitTests
+ test_alias = env.Alias('unit', [prog], prog[0].abspath)
+ AlwaysBuild(test_alias)
+