summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Franz <roy.franz@linaro.org>2015-05-26 16:28:30 -0700
committerRoy Franz <roy.franz@linaro.org>2015-05-26 16:28:30 -0700
commit310d238cacfafd9218b5f11752a74f1463df971e (patch)
tree36f8a4b2a987fdc591c4fdacc79e91893108f5ff
parente6509f3dd86f6e21d303032c91f9d770d0cd63d9 (diff)
Move wget of EDK2 image to install phase
This causes the install phase to fail when the EDK2 image doesn't exists, which results in 0 tests passing on the LAVA dashboard, which is what we want. The previous behavior would show 1 test passing (the install phase) even when the EDK2 image was missing, since the install phase was a NOP. Change-Id: I128ab153114b7e98a8928e488cd162191b5fa920 Signed-off-by: Roy Franz <roy.franz@linaro.org>
-rw-r--r--ubuntu/qemu-edk2-boot.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ubuntu/qemu-edk2-boot.yaml b/ubuntu/qemu-edk2-boot.yaml
index 80cc9ba..57fed79 100644
--- a/ubuntu/qemu-edk2-boot.yaml
+++ b/ubuntu/qemu-edk2-boot.yaml
@@ -24,15 +24,15 @@ install:
deps:
- wget
- expect
-
-run:
steps:
# Put the flash image in /home with the disk image provided files
# for QEMU to keep them all together.
- - pushd /home
+ - cd /home
- wget -O QEMU_EFI.fd ${EDK2_BIN}
# Pad to 64 MBytes as required for QEMU flash images
- dd if=QEMU_EFI.fd of=flash0.img ibs=64M conv=sync
- - popd
+
+run:
+ steps:
- export QEMU_BIN QEMU_ARGS TEST_NAME
- ubuntu/scripts/qemu-edk2-boot.sh