Browse Source

[run-tests.sh] Restore BBB eMMC convert/test

Removed by mistake at fe70255.

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
2.4.x
Lluis Campos 4 years ago
parent
commit
daa38d4b98
  1. 15
      scripts/test/run-tests.sh

15
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

Loading…
Cancel
Save