configure: move tests/qemu-iotests/common.env generation to meson

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2020-12-14 12:12:10 +01:00
parent 7bc3ca7fc0
commit acb1e6db84
3 changed files with 6 additions and 7 deletions

7
configure vendored
View file

@ -6433,13 +6433,6 @@ for rom in seabios; do
echo "RANLIB=$ranlib" >> $config_mak
done
# set up qemu-iotests in this build directory
iotests_common_env="tests/qemu-iotests/common.env"
echo "# Automatically generated by configure - do not modify" > "$iotests_common_env"
echo >> "$iotests_common_env"
echo "export PYTHON='$python'" >> "$iotests_common_env"
if test "$skip_meson" = no; then
cross="config-meson.cross.new"
meson_quote() {

View file

@ -0,0 +1,3 @@
# Automatically generated by configure - do not modify
export PYTHON='@PYTHON@'

View file

@ -3,3 +3,6 @@ if 'CONFIG_LINUX' in config_host
else
socket_scm_helper = []
endif
configure_file(output: 'common.env',
input: files('common.env.in'),
configuration: {'PYTHON': python.full_path()})