diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-18 20:19:21 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-18 20:19:21 +0000 |
commit | d2f33c8021477f3c5e835ee224d604c1fc48c97c (patch) | |
tree | dcd37d526b878908b2a4641598e94076d1668c98 /tests/fate-update.sh | |
parent | 122a9af76b1caee50e8c80992de650b5a1013fd3 (diff) | |
download | ffmpeg-d2f33c8021477f3c5e835ee224d604c1fc48c97c.tar.gz |
fate: use our variable names in test rules imported from Mike's db
Originally committed as revision 24312 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/fate-update.sh')
-rwxr-xr-x | tests/fate-update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate-update.sh b/tests/fate-update.sh index 6c67f57f2f..c2a30a90c9 100755 --- a/tests/fate-update.sh +++ b/tests/fate-update.sh @@ -25,7 +25,8 @@ do_sql "$SQL_TESTS" | while read id name command; do {MD5}*) command="${command#\{MD5\}} | do_md5sum | cut -c-32" ;; {*}*) continue ;; esac - command=$(echo "$command" | sed 's/\$/$$/g') + command=$(echo "$command" | sed 's/\$BUILD_PATH/$(TARGET_PATH)/g') + command=$(echo "$command" | sed 's/\$SAMPLES_PATH/$(SAMPLES)/g') 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 |