summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorChristopher Crone <christopher.crone@docker.com>2019-02-21 16:21:03 +0100
committerChristopher Crone <christopher.crone@docker.com>2019-02-21 16:21:09 +0100
commit133df6310851888067c42e1b938cf51de46ebc03 (patch)
tree48aa340c1f2df134599b0b6b6acbb593f2d2bd16 /script
parentdbc229dc3790976055d17a9f14a6364f7c949002 (diff)
Add built Python smoke test to macOS setup script
Prior to this smoke test, the macOS setup step wouldn't fail if the Python that it built wasn't functional. This will make debugging Python build issues easier in the future. Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Diffstat (limited to 'script')
-rwxr-xr-xscript/setup/osx5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/setup/osx b/script/setup/osx
index 2a127782..1fb91edc 100755
--- a/script/setup/osx
+++ b/script/setup/osx
@@ -98,6 +98,11 @@ if ! [[ $(${TOOLCHAIN_PATH}/bin/python3 --version) == *"${PYTHON_VERSION}"* ]];
)
fi
+#
+# Smoke test built Python.
+#
+openssl_version ${TOOLCHAIN_PATH}
+
echo ""
echo "*** Targeting macOS: ${DEPLOYMENT_TARGET}"
echo "*** Using SDK ${SDK_PATH}"