Skip to content
Snippets Groups Projects
Commit 56c115a9 authored by Alex Bennée's avatar Alex Bennée
Browse files

docker: gracefully skip check_qemu


Not all our images are able to run the tests. Rather than use features
we can just check for the existence and run-ability of gtester. If the
image has been setup for binfmt_misc it will be able to run anyway.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
parent 3f9747a7
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,13 @@ check_qemu()
else
INVOCATION="$@"
fi
make $MAKEFLAGS $INVOCATION
if command -v gtester > /dev/null 2>&1 && \
gtester --version > /dev/null 2>&1; then
make $MAKEFLAGS $INVOCATION
else
echo "No working gtester, skipping make $INVOCATION"
fi
}
test_fail()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment