st/clover: use VISIBILITY_CXXFLAGS where approapriate
[mesa.git] / src / gallium / tests / unit / SConscript
index 49f28c036910baf351c64bc8c57a2a32c9300d51..edc1e80a412052982e8d932c3559299b882c112f 100644 (file)
@@ -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)