Files
bootrr/bin/bootrr.in
Dmitry Baryshkov 388e281ef2 Makefile: change install paths, provide bootrr-run script
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>
2021-11-01 11:48:12 -05:00

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