Skip to content

Commit

Permalink
skip check for gdal-bin installation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkAndshark committed Feb 2, 2025
1 parent 2ff6a55 commit bd60a90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ mkdir -p "$TEST_TEMP_DIR"

# Verify the tools used in the tests are available
# todo add more verification for other tools like jq file curl sqlite3...
if ! command -v ogrmerge.py > /dev/null; then
if [[ $OSTYPE == linux* ]]; then # We only used ogrmerge.py on Linux see the test_pbf() function
if ! command -v ogrmerge.py > /dev/null; then
echo "gdal-bin is required for testing"
echo "For Ubuntu, you could install it with sudo apt update && sudo apt install gdal-bin -y."
echo "see more at https://gdal.org/en/stable/download.html#binaries"
exit 1
fi
fi

function wait_for {
Expand Down

0 comments on commit bd60a90

Please sign in to comment.