From f3435836ebb6f039940a07152b9bd07a4ee27353 Mon Sep 17 00:00:00 2001 From: Pavel Balaev <balaev@tarantool.org> Date: Thu, 25 Nov 2021 00:18:56 +0300 Subject: [PATCH] ci: fix python path for FreeBSD build target Python3 symlink is missing after installing python3X from pkg on FreeBSD 12.2 and 13. This breaks tests. Signed-off-by: Pavel Balaev <balaev@tarantool.org> --- .travis.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.mk b/.travis.mk index 56223e660e..62c38797b3 100644 --- a/.travis.mk +++ b/.travis.mk @@ -445,6 +445,7 @@ test_static_build_cmake_osx_github_actions: base_deps_osx_github_actions test_st deps_freebsd: sudo pkg install -y git cmake gmake icu libiconv \ python38 py38-yaml py38-six py38-gevent + which python3 || sudo ln -s /usr/local/bin/python3.8 /usr/local/bin/python3 build_freebsd: if [ "$$(swapctl -l | wc -l)" != "1" ]; then sudo swapoff -a ; fi ; swapctl -l @@ -453,7 +454,7 @@ build_freebsd: test_freebsd_no_deps: build_freebsd make LuaJIT-test - cd test && python3.8 test-run.py --vardir ${VARDIR} --force $(TEST_RUN_EXTRA_PARAMS) + cd test && ./test-run.py --vardir ${VARDIR} --force $(TEST_RUN_EXTRA_PARAMS) test_freebsd: deps_freebsd test_freebsd_no_deps -- GitLab