summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-18 20:50:03 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-18 20:50:03 +0000
commit77cce79aa76d8fee94ebea0380b1233c8339985a (patch)
tree00473d082b48a9575be6bf186f719da5ffbe013f /tests
parentcdaf4b79bba8938ac8da620e9ff3758fccba83e4 (diff)
downloadffmpeg-77cce79aa76d8fee94ebea0380b1233c8339985a.tar.gz
fate: ensure all imported rules are handled by helpers
Originally committed as revision 24318 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fate-update.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/fate-update.sh b/tests/fate-update.sh
index 5deaf546a3..6b4668fc03 100755
--- a/tests/fate-update.sh
+++ b/tests/fate-update.sh
@@ -39,8 +39,11 @@ do_sql "$SQL_TESTS" | while read id name command; do
command="${command#*ffmpeg}"; command="${command% -f *}"
command="crc $command"
;;
+ *)
+ echo "Unhandled command '$command'"
+ exit 1
+ ;;
esac
- command=$(echo "$command" | sed 's/\$BUILD_PATH/$(TARGET_PATH)/g')
command=$(echo "$command" | sed 's/\$SAMPLES_PATH/$(SAMPLES)/g')
command=$(echo "$command" | sed 's/ *$//')
do_sql "SELECT expected_stdout FROM test_spec WHERE id=$id" | awk '/./{print}' > "$ref/$name"