2014-12-12 15:50:31 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# set -x
|
|
|
|
|
|
|
|
. ./variables.sh
|
|
|
|
|
2016-05-10 15:48:03 +02:00
|
|
|
export GI_TYPELIB_PATH=../libvips
|
|
|
|
|
|
|
|
vipslibs=../libvips/.libs
|
|
|
|
|
|
|
|
# we want to test against the built but uninstalled libraries, so we must set
|
|
|
|
# LD_LIBRARY_PATH or equivalent
|
|
|
|
case `uname` in
|
|
|
|
HPUX)
|
|
|
|
export SHLIB_PATH=$vipslibs
|
|
|
|
;;
|
2014-12-12 15:50:31 +01:00
|
|
|
|
2016-05-10 15:48:03 +02:00
|
|
|
Darwin)
|
|
|
|
export DYLD_LIBRARY_PATH=$vipslibs
|
|
|
|
;;
|
2014-12-12 15:50:31 +01:00
|
|
|
|
2016-05-10 15:48:03 +02:00
|
|
|
*)
|
|
|
|
export LD_LIBRARY_PATH=$vipslibs
|
|
|
|
;;
|
|
|
|
esac
|
2014-12-12 15:50:31 +01:00
|
|
|
|
2016-05-10 15:48:03 +02:00
|
|
|
$PYTHON -m unittest -v test_all
|