From 5b473c94b38a556739d7f7d6e1c0e1fc3198e32f Mon Sep 17 00:00:00 2001 From: Enrico Joerns Date: Thu, 18 Jul 2024 13:46:59 +0200 Subject: [PATCH] qemu-test-init: export MESON_BUILD_DIR for pytest in shell When using "./qemu-test shell" to invoke pytest manually, the MESON_BUILD_DIR env variable will not be set by meson. Thus set it for convenience. Signed-off-by: Enrico Joerns --- qemu-test-init | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu-test-init b/qemu-test-init index 7effc1fe2..3bdf9ed81 100755 --- a/qemu-test-init +++ b/qemu-test-init @@ -30,6 +30,7 @@ BUILD_DIR="$(realpath build)/" for x in $(cat /proc/cmdline); do if [ "$x" = "shell" ]; then SHELL=1 + export MESON_BUILD_DIR=$BUILD_DIR elif [ "$x" = "system" ]; then SHELL=1 SERVICE=1