mirror of
https://github.com/linux-msm/bootrr.git
synced 2026-02-25 13:12:03 -08:00
Some tests does not depend on a board. We can consider these tests as generic and bootrr-generic-tests is added to contain them. This scripts is started at the begining of bootrr-auto before boards specific tests. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
12 lines
244 B
Bash
Executable File
12 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
|
|
$(pwd)/helpers/bootrr-generic-tests
|
|
|
|
for TEST in $(tr "\0" "\n" < /proc/device-tree/compatible); do
|
|
if [ -x "/usr/bin/${TEST}" ]; then
|
|
/usr/bin/${TEST}
|
|
elif [ -x "$(pwd)/boards/${TEST}" ]; then
|
|
$(pwd)/boards/${TEST}
|
|
fi
|
|
done
|