fwupd/contrib/ci/get_test_firmware.sh

12 lines
359 B
Bash
Executable File

#!/bin/sh
if [ "$CI_NETWORK" = "true" ]; then
#clone fwupd-test-firmware
rm -rf fwupd-test-firmware
git clone https://github.com/fwupd/fwupd-test-firmware
#set up build tests to work
cp fwupd-test-firmware/ci-tests/* . -R
root=$(pwd)
export G_TEST_SRCDIR=${root}/fwupd-test-firmware/installed-tests
fi