libvips/test/test_python.sh
John Cupitt 1bf8e0847f run py tests from "make check"
though they fail on ubuntu 16.04 due to giflib dumbness

magickload is also failing, investigate
2016-06-02 23:10:14 +02:00

28 lines
397 B
Bash
Executable File

#!/bin/sh
# set -x
. ./variables.sh
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
;;
Darwin)
export DYLD_LIBRARY_PATH=$vipslibs
;;
*)
export LD_LIBRARY_PATH=$vipslibs
;;
esac
$PYTHON -m unittest -v test_all