From c05c675de6fda5a17836d21c0d6920e51f5181a0 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 27 Feb 2010 23:46:32 +0000 Subject: progs/gallium: Make a phony target "unit" to run unit tests. --- progs/gallium/unit/SConscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'progs/gallium') 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) + -- cgit v1.2.3