Skip to content

Commit

Permalink
Merge "test_lossless: avoid 'seq' for compatibility"
Browse files Browse the repository at this point in the history
  • Loading branch information
jzern authored and Gerrit Code Review committed Jan 17, 2015
2 parents e179ed4 + 78b950d commit 480b655
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test_lossless.sh
Expand Up @@ -51,15 +51,16 @@ test_file_dir=$(dirname $self)
executable=${executable:-dwebp}
${executable} 2>/dev/null | grep -q Usage || usage

for i in `seq 0 15`; do
vectors="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"
for i in $vectors; do
for fmt in $formats; do
file="$test_file_dir/lossless_vec_1_$i.webp"
check "$file" "$test_file_dir/grid.$fmt" -$fmt
check "$file" "$test_file_dir/grid.$fmt" -$fmt -noasm
done
done

for i in `seq 0 15`; do
for i in $vectors; do
for fmt in $formats; do
file="$test_file_dir/lossless_vec_2_$i.webp"
check "$file" "$test_file_dir/peak.$fmt" -$fmt
Expand Down

0 comments on commit 480b655

Please sign in to comment.