diff options
Diffstat (limited to 'test cases/common/48 test args/meson.build')
-rw-r--r-- | test cases/common/48 test args/meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test cases/common/48 test args/meson.build b/test cases/common/48 test args/meson.build index f81450c..6400198 100644 --- a/test cases/common/48 test args/meson.build +++ b/test cases/common/48 test args/meson.build @@ -3,6 +3,12 @@ project('test features', 'c') e1 = executable('cmd_args', 'cmd_args.c') e2 = executable('envvars', 'envvars.c') +env = environment() +env.set('first', 'val1') +env.set('second', 'val2') +env.set('third', 'val3', 'and_more', separator: ':') +env.append('PATH', 'fakepath', separator: ':') + test('command line arguments', e1, args : ['first', 'second']) -test('environment variables', e2, env : ['first=val1', 'second=val2']) +test('environment variables', e2, env : env) test('file arg', find_program('tester.py'), args : files('testfile.txt')) |