fate: remove stale fate-update.sh script

Message ID 1300381517-13168-1-git-send-email-mans@mansr.com
State Committed
Commit 5a15602a4e99c730036c33b467f60248889219e1
Headers show

Commit Message

Mans Rullgard March 17, 2011, 5:05 p.m.
This script was used to import Mike's old fate database and
is no longer needed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 tests/fate-update.sh |   55 --------------------------------------------------
 1 files changed, 0 insertions(+), 55 deletions(-)
 delete mode 100755 tests/fate-update.sh

Comments

Reinhard Tartler March 17, 2011, 6:34 p.m. | #1
On Thu, Mar 17, 2011 at 18:05:17 (CET), Mans Rullgard wrote:

> This script was used to import Mike's old fate database and
> is no longer needed.

thanks. it quite confused me.
Janne Grunau March 19, 2011, 1:39 p.m. | #2
On Thu, Mar 17, 2011 at 05:05:17PM +0000, Mans Rullgard wrote:
> This script was used to import Mike's old fate database and
> is no longer needed.
> 
> Signed-off-by: Mans Rullgard <mans@mansr.com>
> ---
>  tests/fate-update.sh |   55 --------------------------------------------------
>  1 files changed, 0 insertions(+), 55 deletions(-)
>  delete mode 100755 tests/fate-update.sh

ok

Janne

Patch

diff --git a/tests/fate-update.sh b/tests/fate-update.sh
deleted file mode 100755
index 6b4668f..0000000
--- a/tests/fate-update.sh
+++ /dev/null
@@ -1,55 +0,0 @@ 
-#! /bin/sh
-
-set -e
-
-base=$(dirname $0)
-ref="${base}/ref/fate"
-
-FATE_DB_URL="http://fate.multimedia.cx/fate-tests.sqlite.bz2"
-FATE_DB=$(mktemp fate-db.XXXXXX)
-SQL_TESTS='SELECT id,short_name,command FROM test_spec WHERE active=1 ORDER BY short_name'
-
-do_sql(){
-    sqlite3 -noheader -separator ' ' "$FATE_DB" "$@"
-}
-
-wget -q -O - "$FATE_DB_URL" | bunzip2 > "$FATE_DB"
-mkdir -p "$ref"
-exec 3>"$base/fate.mak"
-
-do_sql "$SQL_TESTS" | while read id name command; do
-    case "$name" in
-        00-full-regression|ffmpeg-help|binsize-*) continue ;;
-    esac
-    case "$command" in
-        {MD5}*)
-            command="${command#*ffmpeg}"; command="${command% -}"
-            command="md5 $command"
-            ;;
-        {*}*)   continue ;;
-        *-f\ framecrc\ -)
-            command="${command#*ffmpeg}"; command="${command% -f *}"
-            command="framecrc $command"
-            ;;
-        *-f\ framemd5\ -)
-            command="${command#*ffmpeg}"; command="${command% -f *}"
-            command="framemd5 $command"
-            ;;
-        *-f\ crc\ -)
-            command="${command#*ffmpeg}"; command="${command% -f *}"
-            command="crc $command"
-            ;;
-        *)
-            echo "Unhandled command '$command'"
-            exit 1
-            ;;
-    esac
-    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"
-    printf "FATE_TESTS += fate-${name}\n" >&3
-    printf "fate-${name}: CMD = %s\n" "$command" >&3
-done
-
-exec 3<&-
-rm -f "$FATE_DB"