meson: Fix compatibility with Meson 0.58

Builds failed with

  tests/meson.build:690:0: ERROR: List item must be one
  of <class 'str'>, not <class 'list'>

before this change.

https://gitlab.com/libvirt/libvirt/-/issues/158

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Andrea Bolognani 2021-05-03 09:06:34 +02:00
parent 6dca93e4bc
commit c607266619

View File

@ -687,12 +687,12 @@ foreach name : test_scripts
test(name, script, env: tests_env)
endforeach
testenv = runutf8
testenv += 'VIR_TEST_FILE_ACCESS=1'
add_test_setup(
'access',
env: [
'VIR_TEST_FILE_ACCESS=1',
runutf8,
],
env: testenv,
exe_wrapper: [ python3_prog, check_file_access_prog.path() ],
)