summaryrefslogtreecommitdiff
path: root/progs/gallium/unit/SConscript
blob: 9891440df6af151e3477b49f7828b300aa7cf7dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)