Change thing used for authorized device list description; set up _keys when loading...
[libdcp.git] / run-tests.sh
index 97cb19310083119838dd58ab9dc083452480c8dd..9456273a9c93c5ea2e2c408e486068091aa5baac 100755 (executable)
@@ -8,6 +8,11 @@
 # 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
@@ -32,11 +37,6 @@ fi
 
 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