From 6f17b9cb48860479666d98d42c01c3068668996f Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 1 Mar 2020 18:42:01 -0500 Subject: [PATCH] tests: Skip set_runtime if KATA_DEV_MODE is set set_runtime attempts to overwrite the host docker configuration to default to DOCKER_RUNTIME instead of kata-runtime, which does not work for 'docker build'. Since this is a host altering step, skip it if KATA_DEV_MODE is set. Signed-off-by: Cole Robinson --- tests/test_images.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_images.sh b/tests/test_images.sh index aea7bd5ba..b8b7d4597 100755 --- a/tests/test_images.sh +++ b/tests/test_images.sh @@ -254,6 +254,8 @@ set_runtime() [ -z "$name" ] && die "need name" + [ -n "${KATA_DEV_MODE}" ] && return + # Travis doesn't support VT-x [ -n "${TRAVIS:-}" ] && return