diff options
author | José Fonseca <[email protected]> | 2010-02-27 23:46:32 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-03-01 13:08:06 +0000 |
commit | c05c675de6fda5a17836d21c0d6920e51f5181a0 (patch) | |
tree | 2d536aa1eeebf145846162f8e347b5499ee75f30 /progs | |
parent | e7ca0e126e1b838d7650eb480adfd548723bcea9 (diff) |
progs/gallium: Make a phony target "unit" to run unit tests.
Diffstat (limited to 'progs')
-rw-r--r-- | progs/gallium/unit/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
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) + |