From c05c675de6fda5a17836d21c0d6920e51f5181a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 27 Feb 2010 23:46:32 +0000 Subject: [PATCH] progs/gallium: Make a phony target "unit" to run unit tests. --- progs/gallium/unit/SConscript | 5 +++++ 1 file changed, 5 insertions(+) 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) + -- 2.30.2