From: Andrea Bolognani Date: Mon, 3 May 2021 07:06:34 +0000 (+0200) Subject: meson: Fix compatibility with Meson 0.58 X-Git-Tag: v7.3.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c607266619c5ab78ad5d4179b3ea93cfb6348391;p=thirdparty%2Flibvirt.git meson: Fix compatibility with Meson 0.58 Builds failed with tests/meson.build:690:0: ERROR: List item must be one of , not before this change. https://gitlab.com/libvirt/libvirt/-/issues/158 Signed-off-by: Andrea Bolognani Reviewed-by: Peter Krempa Reviewed-by: Pavel Hrdina --- diff --git a/tests/meson.build b/tests/meson.build index 05c3e90195..9900983d0c 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -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() ], )