Skip to content

Commit

Permalink
Error out if we dont have patch for a version
Browse files Browse the repository at this point in the history
  • Loading branch information
WillChilds-Klein committed Feb 28, 2024
1 parent bdff637 commit 5ce80d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/ci/integration/run_python_integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ function python_patch() {
local branch=${1}
local src_dir="${PYTHON_SRC_FOLDER}/${branch}"
local patch_dir="${PYTHON_PATCH_FOLDER}/${branch}"
if [[ ! $(find -L ${patch_dir} -type -f -name '*.patch') ]]; then
echo "No patch for ${branch}!"
exit 1
fi
git clone https://github.com/python/cpython.git ${src_dir} \
--depth 1 \
--branch ${branch}
Expand Down

0 comments on commit 5ce80d5

Please sign in to comment.