Skip to content

Commit

Permalink
Delete crashy script code
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed May 2, 2024
1 parent a0caca5 commit 5b89a24
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,6 @@ fi
# Set have_secrets to true or false.
source scripts/check_secrets.sh

# Get Xcode version
system=$(uname -s)
case "$system" in
Darwin)
xcode_version=$(xcodebuild -version | head -n 1)
xcode_version="${xcode_version/Xcode /}"
xcode_major="${xcode_version/.*/}"
;;
*)
xcode_major="0"
;;
esac

# Check Xcode version when testing watchOS
if [[ "$TEST" == true && \
"$OS" == watchOS && \
"$xcode_major" -lt 13 && \
"$xcode_version" != "12.5.1" && \
"$xcode_version" != "12.5" ]]; then
echo "Xcode version does not yet supporting testing on watchOS"
exit 1
fi

# Initialize flags
flags=()

Expand Down

0 comments on commit 5b89a24

Please sign in to comment.