mirror of
https://github.com/linux-msm/bootrr.git
synced 2026-02-25 13:12:03 -08:00
Install all the tests into separe dir (${prefix}/libexec/bootrr).
Provide a generic script to run all the tests on the target board.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
14 lines
241 B
Bash
14 lines
241 B
Bash
#!/bin/sh
|
|
|
|
BOOTRR_DIR=@BOOTRR@
|
|
|
|
PATH=${BOOTRR_DIR}/helpers:${PATH}
|
|
|
|
bootrr-generic-tests
|
|
|
|
for TEST in $(tr "\0" "\n" < /proc/device-tree/compatible); do
|
|
if [ -x "${BOOTRR_DIR}/boards/${TEST}" ]; then
|
|
${BOOTRR_DIR}/boards/${TEST}
|
|
fi
|
|
done
|