projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ca0e1
)
progs/gallium: Make a phony target "unit" to run unit tests.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 27 Feb 2010 23:46:32 +0000
(23:46 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 1 Mar 2010 13:08:06 +0000
(13:08 +0000)
progs/gallium/unit/SConscript
patch
|
blob
|
history
diff --git
a/progs/gallium/unit/SConscript
b/progs/gallium/unit/SConscript
index 7c614f628e9408de703a20fe2869494748081a32..9891440df6af151e3477b49f7828b300aa7cf7dd 100644
(file)
--- 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)
+