summaryrefslogtreecommitdiffstats
path: root/test cases/unit/67 test env value/meson.build
blob: aa3dbc35d54959d1b2975170caafa7c62876ce8d (plain)
1
2
3
4
5
6
7
8
9
10
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']))