summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/unit/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/unit/SConscript')
-rw-r--r--src/gallium/tests/unit/SConscript8
1 files changed, 4 insertions, 4 deletions
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)