blob: ac09394a050a2dd9df87da10cd23b626cf3edd9b [file] [log] [blame]
#!/bin/sh
#
# Runs all encoding tests that have not been run, or are missing data.
#
# Argument: Filenames.
set -e
for sourcefile in $@; do
# filename format: <path>/<clip_name>_<width>_<height>_<frame_rate>.yuv
pathless=$(basename ${sourcefile})
clip_stem=${pathless%.*}
echo "Clip $clip_stem"
# Detecting test dirs by looking for the file name "measurer". Somewhat
# fragile.
for measurer in */*/measurer; do
dir=$(dirname $measurer)
./run_one_test $dir $sourcefile
done
done