Debian Codegraph @

test cases/common/274 customtarget exe for test/meson.build

raw
1 project('test customtarget')
2
3 ct1 = custom_target(
4 command: ['generate.py', '@OUTPUT@'],
5 output: 'a.py',
6 )
7 ct2 = custom_target(
8 command: ['generate.py', '@OUTPUT@'],
9 output: ['b.py', 'c.py'],
10 )
11
12 test('using_custom_target', ct1)
13 test('using_custom_target_index', ct2[0])
14 test('using_custom_target_index_1', ct2[1], should_fail: true)