3 DIR=/var/jenkins/workspace/dcpomatic2-long-test/test/dcpomatic-test/output
8 if [ "$test" == "" -o "$frame" == "" ]; then
9 echo "Syntax: $0 <test> <frame>"
16 a=`ls $DIR | head -n 1`
17 b=`ls $DIR | tail -n 1`
20 if [ `git rev-list $a..HEAD | grep $b` != "" ]; then
29 echo "old is $old, new is $new"
30 echo "working in $tmp"
32 n=`printf "%06d" $frame`
35 cp $DIR/$old/$test.xml/video/* old.mxf
37 j2k_to_image -i old_$n.j2c -o old.png
38 cp $DIR/$new/$test.xml/video/* new.mxf
40 j2k_to_image -i new_$n.j2c -o new.png
43 cp $tmp/old.png $tmp/new.png .