# e.g. --run_tests=foo
set -e
-PRIVATE_GIT="49276da301a937fbf09bc9e7b5a537cdee72bc46"
+PRIVATE_GIT="881c48805e352dfe150993814757ca974282be18"
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+source $DIR/environment
if [ "$1" == "--check" ]; then
shift 1
fi
if [ "$(uname)" == "Linux" ]; then
- export LD_LIBRARY_PATH=build/src/lib:/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
rm -f build/test/dcpomatic2_openssl
# This must be our patched openssl or tests will fail
if [ ! -f build/test/dcpomatic2_openssl ]; then
ln -s ../../../openssl/apps/openssl build/test/dcpomatic2_openssl
fi
+ export DCPOMATIC_TEST_TOOLS_PATH=/opt/asdcplib/bin
+ if [ -f /src/backports/dcp_inspect ]; then
+ export DCPOMATIC_DCP_INSPECT=/src/backports/dcp_inspect
+ fi
+ set +e
+ python3 -m clairmeta.cli --help > /dev/null 2>&1
+ if [ "$?" == "0" ]; then
+ export DCPOMATIC_CLAIRMETA=1
+ fi
+ set -e
fi
if [ "$(uname)" == "Darwin" ]; then
cp ../libdcp/ratings $resources
rm -f build/test/openssl
ln -s ../../../openssl/apps/openssl build/test/openssl
- # SIP stops this being passed in from the caller's environment
- export DYLD_LIBRARY_PATH=/Users/ci/osx-environment/x86_64/10.10/lib:/Users/ci/workspace/lib
# We need to find ffcmp in here
export PATH=$PATH:/Users/ci/workspace/bin
fi
echo "Unexpected dcpomatic-test-private version"
exit 1
fi
- ./check_sums || (echo "dcpomatic-test-private checksums are incorrect"; exit 1)
popd
fi