run_genimage_impl: abort for missing config file

Otherwise, a missing config file is not detected for tests that are
expected to fail.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This commit is contained in:
Michael Olbrich 2024-06-21 16:25:05 +02:00
parent 0d9f207169
commit b0d050e80c

View File

@ -26,6 +26,10 @@ setup_data() {
}
run_genimage_impl() {
if [ ! -e "${1}" ]; then
echo "ERROR: genimage config file '${1}' missing!"
return 130
fi
if [ "$verbose" = "t" ]; then
vargs="--loglevel=3"
fi