summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-04-01 20:12:10 +0100
committerJosé Fonseca <[email protected]>2011-04-01 20:18:22 +0100
commit3f68d4b0583bd51b18eba6eb1e4be58f37c61778 (patch)
tree5ba82996c2f23558c499b9cc250050984cda489e /src/gallium/tests
parent17bbc1f0425b3768e26473eccea5f2570dcb26d3 (diff)
scons: Add aliases for unit tests.
Diffstat (limited to 'src/gallium/tests')
-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)