mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-26 02:21:49 +00:00

This allows us to override the location we load data files from, which allows us to do more kinds of installed tests in the future. Also, move the global data/tests content into the place that it is used as it was getting impossible to manage.
10 lines
285 B
Bash
Executable File
10 lines
285 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
|
|
#copy data for self-tests into the source tree
|
|
cp fwupd-test-firmware/ci-tests/* . -R
|
|
fi
|