move sourcing of mapnik-settings.env to localize.sh
This commit is contained in:
parent
3e24c5a417
commit
77cf3697ae
2 changed files with 12 additions and 11 deletions
13
localize.sh
13
localize.sh
|
@ -5,4 +5,15 @@ if [ $(uname -s) = 'Darwin' ]; then
|
||||||
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/":${DYLD_LIBRARY_PATH}
|
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/":${DYLD_LIBRARY_PATH}
|
||||||
else
|
else
|
||||||
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/":${LD_LIBRARY_PATH}
|
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/":${LD_LIBRARY_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# mapnik-settings.env is an optional file to store
|
||||||
|
# environment variables that should be used before
|
||||||
|
# running tests like PROJ_LIB, GDAL_DATA, and ICU_DATA
|
||||||
|
# These do not normally need to be set except when
|
||||||
|
# building against binary versions of dependencies like
|
||||||
|
# done via bootstrap.sh
|
||||||
|
if [[ -f mapnik-settings.env ]]; then
|
||||||
|
echo "Inheriting from mapnik-settings.env"
|
||||||
|
source mapnik-settings.env
|
||||||
|
fi
|
||||||
|
|
10
test/run
10
test/run
|
@ -11,16 +11,6 @@ function run_substep { >&2 echo -e "\033[1m\033[36m* $1\033[0m"; }
|
||||||
function run_success { >&2 echo -e "\033[1m\033[32m* $1\033[0m"; }
|
function run_success { >&2 echo -e "\033[1m\033[32m* $1\033[0m"; }
|
||||||
|
|
||||||
run_step "Starting Mapnik tests"
|
run_step "Starting Mapnik tests"
|
||||||
# mapnik-settings.env is an optional file to store
|
|
||||||
# environment variables that should be used before
|
|
||||||
# running tests like PROJ_LIB, GDAL_DATA, and ICU_DATA
|
|
||||||
# These do not normally need to be set except when
|
|
||||||
# building against binary versions of dependencies like
|
|
||||||
# done via bootstrap.sh
|
|
||||||
if [[ -f mapnik-settings.env ]]; then
|
|
||||||
run_substep "Inheriting from mapnik-settings.env"
|
|
||||||
source mapnik-settings.env
|
|
||||||
fi
|
|
||||||
|
|
||||||
run_substep "Running C++ Unit tests..."
|
run_substep "Running C++ Unit tests..."
|
||||||
./test/unit/run
|
./test/unit/run
|
||||||
|
|
Loading…
Reference in a new issue