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.
11 lines
321 B
11 lines
321 B
5 years ago
|
project('test env value')
|
||
|
|
||
|
testpy = find_program('test.py')
|
||
|
|
||
|
val = ['1', '2', '3']
|
||
|
foreach v: val
|
||
|
test('check env', testpy, args: [v], env: {'TEST_VAR': v})
|
||
|
endforeach
|
||
|
test('check env', testpy, args: ['4'], env: environment({'TEST_VAR': '4'}))
|
||
|
test('check env', testpy, args: ['5'], env: environment(['TEST_VAR=5']))
|