mirror of
https://github.com/pengutronix/genimage.git
synced 2024-11-23 09:43:50 +08:00
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:
parent
0d9f207169
commit
b0d050e80c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user