mirror of https://github.com/xiph/flac
solaris 10 fixes (SF#1783225: https://sourceforge.net/tracker/index.php?func=detail&aid=1783225&group_id=13478&atid=113478)
This commit is contained in:
parent
14687a162c
commit
412a03752e
|
@ -104,6 +104,7 @@
|
||||||
<li>Fixed bug compiling <span class="commandname">flac</span> without Ogg support (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid=113478">SF #1760786</a>).</li>
|
<li>Fixed bug compiling <span class="commandname">flac</span> without Ogg support (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid=113478">SF #1760786</a>).</li>
|
||||||
<li>Fixed bug where sometimes an existing installation of flac could interfere with the build process (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1763690&group_id=13478&atid=113478">SF #1763690</a>).</li>
|
<li>Fixed bug where sometimes an existing installation of flac could interfere with the build process (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1763690&group_id=13478&atid=113478">SF #1763690</a>).</li>
|
||||||
<li>Some MinGW fixes (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478">SF #1684879</a>).</li>
|
<li>Some MinGW fixes (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478">SF #1684879</a>).</li>
|
||||||
|
<li>Solaris 10 fixes (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1783225&group_id=13478&atid=113478">SF #1783225</a>).</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -50,6 +50,11 @@ PATH=`pwd`/../src/flac:$PATH
|
||||||
PATH=`pwd`/../src/metaflac:$PATH
|
PATH=`pwd`/../src/metaflac:$PATH
|
||||||
PATH=`pwd`/../obj/$BUILD/bin:$PATH
|
PATH=`pwd`/../obj/$BUILD/bin:$PATH
|
||||||
|
|
||||||
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
||||||
|
then EGREP='grep -E'
|
||||||
|
else EGREP='egrep'
|
||||||
|
fi
|
||||||
|
|
||||||
testdir="metaflac-test-files"
|
testdir="metaflac-test-files"
|
||||||
flacfile="metaflac.flac"
|
flacfile="metaflac.flac"
|
||||||
|
|
||||||
|
@ -116,7 +121,7 @@ filter ()
|
||||||
# grep pattern 2: remove minimum/maximum frame and block size from STREAMINFO
|
# grep pattern 2: remove minimum/maximum frame and block size from STREAMINFO
|
||||||
# grep pattern 3: remove hexdump data from PICTURE metadata blocks
|
# grep pattern 3: remove hexdump data from PICTURE metadata blocks
|
||||||
# sed pattern 1: remove stream offset values from SEEKTABLE points
|
# sed pattern 1: remove stream offset values from SEEKTABLE points
|
||||||
grep -Ev '^ vendor string: |^ m..imum .....size: |^ 0000[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]: ' | sed -e 's/, stream_offset.*//'
|
$EGREP -v '^ vendor string: |^ m..imum .....size: |^ 0000[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]: ' | sed -e 's/, stream_offset.*//'
|
||||||
}
|
}
|
||||||
metaflac_test ()
|
metaflac_test ()
|
||||||
{
|
{
|
||||||
|
@ -126,7 +131,7 @@ metaflac_test ()
|
||||||
expect="$testdir/$case-expect.meta"
|
expect="$testdir/$case-expect.meta"
|
||||||
echo -n "test $case: $desc... "
|
echo -n "test $case: $desc... "
|
||||||
run_metaflac $args $flacfile | filter > $testdir/out.meta || die "ERROR running metaflac"
|
run_metaflac $args $flacfile | filter > $testdir/out.meta || die "ERROR running metaflac"
|
||||||
diff -q -w $expect $testdir/out.meta 2>/dev/null || die "ERROR: metadata does not match expected $expect"
|
diff -w $expect $testdir/out.meta > /dev/null 2>&1 || die "ERROR: metadata does not match expected $expect"
|
||||||
echo OK
|
echo OK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue