# if anything is different.
#
+if [ ! -e "../libdcp-test" ]; then
+ echo "Test corpus not found"
+ exit 1
+fi
+
if [ "$1" == "--debug" ]; then
shift
LD_LIBRARY_PATH=build/src:build/asdcplib/src gdb --args build/test/tests
rm -f build/test/info.log
-if [ ! -e "../libdcp-test" ]; then
- echo "Test corpus not found"
- exit 1
-fi
-
for d in `find ../libdcp-test -mindepth 1 -maxdepth 1 -type d | sort`; do
if [ `basename $d` != ".git" ]; then
LD_LIBRARY_PATH=build/src:build/asdcplib/src build/tools/dcpinfo -s $d >> build/test/info.log