From daa38d4b98ae869f6908d2df23e61b526a115dc2 Mon Sep 17 00:00:00 2001 From: Lluis Campos Date: Mon, 18 Jan 2021 21:22:34 +0100 Subject: [PATCH] [run-tests.sh] Restore BBB eMMC convert/test Removed by mistake at fe70255. Changelog: None Signed-off-by: Lluis Campos --- scripts/test/run-tests.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts/test/run-tests.sh b/scripts/test/run-tests.sh index d1197e8..c56b1d5 100755 --- a/scripts/test/run-tests.sh +++ b/scripts/test/run-tests.sh @@ -101,13 +101,26 @@ else if [ "$1" == "--all" -o "$1" == "--only" -a "$2" == "beaglebone" ]; then wget --progress=dot:giga -N ${BBB_DEBIAN_SDCARD_IMAGE_URL} -P input/ + # Convert uncompressed images to speed up this job + unxz --force "input/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz" convert_and_test "beaglebone-sdcard" \ "release-1" \ - "input/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz" \ + "input/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img" \ "--config configs/beaglebone_black_debian_sdcard_config" \ -- \ "-k" "'not test_update'" \ || test_result=$? + + rm -rf deploy + wget --progress=dot:giga -N ${BBB_DEBIAN_EMMC_IMAGE_URL} -P input/ + unxz --force "input/bone-debian-10.5-console-armhf-2020-09-21-1gb.img.xz" + convert_and_test "beaglebone-emmc" \ + "release-1" \ + "input/bone-debian-10.5-console-armhf-2020-09-21-1gb.img" \ + "--config configs/beaglebone_black_debian_emmc_config" \ + -- \ + "-k" "'not test_update'" \ + || test_result=$? fi if [ "$1" == "--all" -o "$1" == "--only" -a "$2" == "ubuntu" ]; then