annotate tests/faterun.sh @ 34367:b370a9fd85b3
Cosmetic: Swap /mnt and /media in the file selector path list.
This looks nicer if someone has both.
author |
ib |
date |
Fri, 23 Dec 2011 14:39:39 +0000 |
parents |
f6cce8c4ea66 |
children |
6faf474f9ce3 |
rev |
line source |
34241
|
1 #!/bin/sh
|
|
2 i=$1
|
|
3 echo "running $i"
|
|
4 mkdir -p res/$(dirname $i)
|
|
5 touch res/$i.md5
|
|
6 ../mplayer -noconfig all -lavdopts threads=4:bitexact -really-quiet -noconsolecontrols -nosound -benchmark -vo md5sum:outfile=res/$i.md5 $FATE_SAMPLES/$i
|
|
7 ref_file=ref/$i.md5
|
|
8 if ! [ -e $ref_file ] ; then
|
|
9 touch ref/empty.md5
|
|
10 ref_file=ref/empty.md5
|
|
11 fi
|
|
12 if ! diff -uw $ref_file res/$i.md5 ; then
|
|
13 mv res/$i.md5 res/$i.md5.bad
|
|
14 exit 1
|
|
15 fi
|