Browse Source

Merge pull request #292 from lluiscampos/restore-eemc-testing

[run-tests.sh] Restore BBB eMMC convert/test and update image
2.4.x
Lluis Campos 4 years ago
committed by GitHub
parent
commit
60b4b9936b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      scripts/test/run-tests.sh

17
scripts/test/run-tests.sh

@ -17,7 +17,7 @@ WORKSPACE=./tests
BBB_DEBIAN_SDCARD_IMAGE_URL="https://debian.beagleboard.org/images/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz"
# Not on official home page, but found via https://elinux.org/Beagleboard:BeagleBoneBlack_Debian:
BBB_DEBIAN_EMMC_IMAGE_URL="https://rcn-ee.com/rootfs/bb.org/testing/2020-09-21/buster-console/bone-debian-10.5-console-armhf-2020-09-21-1gb.img.xz"
BBB_DEBIAN_EMMC_IMAGE_URL="https://rcn-ee.com/rootfs/bb.org/testing/2021-01-11/buster-console/bone-debian-10.7-console-armhf-2021-01-11-1gb.img.xz"
RASPBIAN_IMAGE_URL="http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip"
@ -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.7-console-armhf-2021-01-11-1gb.img.xz"
convert_and_test "beaglebone-emmc" \
"release-1" \
"input/bone-debian-10.7-console-armhf-2021-01-11-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

Loading…
Cancel
Save