Add README.
[libdcp.git] / run-tests.sh
1 #!/bin/sh
2
3 #
4 # Runs our test suite, which builds a DCP.
5 # The output is compared against the one
6 # in test/ref/DCP, and an error is given
7 # if anything is different.
8 #
9
10 LD_LIBRARY_PATH=build/src:build/asdcplib/src
11 build/test/tests
12 diff -ur build/test/foo test/ref/DCP
13 if [ "$?" != "0" ]; then
14   echo "FAIL: files differ"
15   exit 1
16 fi
17 echo "PASS"