fate: ensure all imported rules are handled by helpers
authorMåns Rullgård <mans@mansr.com>
Sun, 18 Jul 2010 20:50:03 +0000 (20:50 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 18 Jul 2010 20:50:03 +0000 (20:50 +0000)
Originally committed as revision 24318 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/fate-update.sh

index 5deaf54..6b4668f 100755 (executable)
@@ -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"