1project('test env var stacking')
2
3testenv = environment()
4testenv.set('TEST_VAR_SET', 'some-value')
5testenv.set('TEST_VAR_APPEND', 'some-value')
6testenv.set('TEST_VAR_PREPEND', 'some-value')
7
8testenv.append('TEST_VAR_APPEND', 'another-value-append', separator: ':')
9testenv.prepend('TEST_VAR_PREPEND', 'another-value-prepend', separator: ':')
10testenv.set('TEST_VAR_SET', 'another-value-set')
11
12test('check env', find_program('script.py'), env: testenv)
13