diff options
Diffstat (limited to 'progs/gallium/unit/SConscript')
-rw-r--r-- | progs/gallium/unit/SConscript | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/progs/gallium/unit/SConscript b/progs/gallium/unit/SConscript new file mode 100644 index 00000000000..9891440df6a --- /dev/null +++ b/progs/gallium/unit/SConscript @@ -0,0 +1,20 @@ +Import('*') + +env = env.Clone() + +env.Prepend(LIBS = [gallium]) + +progs = [ + 'u_format_test' +] + +for prog in progs: + prog = env.Program( + target = prog, + source = prog + '.c', + ) + + # http://www.scons.org/wiki/UnitTests + test_alias = env.Alias('unit', [prog], prog[0].abspath) + AlwaysBuild(test_alias) + |