From: José Fonseca Date: Sat, 27 Feb 2010 23:46:32 +0000 (+0000) Subject: progs/gallium: Make a phony target "unit" to run unit tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c05c675de6fda5a17836d21c0d6920e51f5181a0;p=mesa.git progs/gallium: Make a phony target "unit" to run unit tests. --- 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) +