From: José Fonseca Date: Fri, 1 Apr 2011 19:12:10 +0000 (+0100) Subject: scons: Add aliases for unit tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f68d4b0583bd51b18eba6eb1e4be58f37c61778;p=mesa.git scons: Add aliases for unit tests. --- diff --git a/src/gallium/tests/unit/SConscript b/src/gallium/tests/unit/SConscript index 49f28c03691..edc1e80a412 100644 --- a/src/gallium/tests/unit/SConscript +++ b/src/gallium/tests/unit/SConscript @@ -19,13 +19,13 @@ progs = [ 'translate_test' ] -for prog in progs: +for progname in progs: prog = env.Program( - target = prog, - source = prog + '.c', + target = progname, + source = progname + '.c', ) - env.InstallProgram(prog) + env.Alias(progname, env.InstallProgram(prog)) # http://www.scons.org/wiki/UnitTests test_alias = env.Alias('unit', [prog], prog[0].abspath)