The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
341 B
16 lines
341 B
8 years ago
|
project('testsetups', 'c')
|
||
|
|
||
|
vg = find_program('valgrind', required : false)
|
||
|
|
||
|
env = environment()
|
||
|
env.set('TEST_ENV', '1')
|
||
|
|
||
|
add_test_setup('valgrind',
|
||
|
exe_wrapper : ['valgrind', '--error-exitcode=1', '--leak-check=full'],
|
||
|
timeout_multiplier : 100,
|
||
|
env : env)
|
||
|
|
||
|
buggy = executable('buggy', 'buggy.c', 'impl.c')
|
||
|
test('Test buggy', buggy)
|
||
|
|