From af1cbe34c85d9a6c9f4669ecd6fa91aaa1366c27 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Tue, 26 Jun 2018 14:33:31 +1000 Subject: test/qemu: start building qemu again, and use our built qemu for tests We need to use QEMU_BIN rather than QEMU as the makefiles define QEMU already. Signed-off-by: Stewart Smith --- test/hello_world/run_qemu_hello_world.sh | 10 +++++----- test/run_qemu-jessie-debian-installer_boot_test.sh | 10 +++++----- test/run_qemu_boot_test.sh | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'test') diff --git a/test/hello_world/run_qemu_hello_world.sh b/test/hello_world/run_qemu_hello_world.sh index cc5055e..3f0aa55 100755 --- a/test/hello_world/run_qemu_hello_world.sh +++ b/test/hello_world/run_qemu_hello_world.sh @@ -1,12 +1,12 @@ #!/bin/bash -if [ -z "$QEMU" ]; then - QEMU="qemu-system-ppc64" +if [ -z "$QEMU_BIN" ]; then + QEMU_BIN="qemu-system-ppc64" fi -if [ ! `command -v $QEMU` ]; then - echo 'Could not find executable QEMU. Skipping hello_world test'; +if [ ! `command -v $QEMU_BIN` ]; then + echo "Could not find executable QEMU_BIN ($QEMU_BIN). Skipping hello_world test"; exit 0; fi @@ -30,7 +30,7 @@ trap "rm -f -- '$t'" EXIT ( cat <