/[gentoo-x86]/media-libs/libsndfile/files/libsndfile-1.0.18-less_strict_tests.patch
Gentoo

Contents of /media-libs/libsndfile/files/libsndfile-1.0.18-less_strict_tests.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 28 12:40:33 2009 UTC (11 years, 6 months ago) by aballier
Branch: MAIN
File MIME type: text/x-diff
version bump
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 This one fails on amd64; vorbis is lossy anyway so just increase the tolerance
2 for now.
3
4
5 Index: libsndfile-1.0.18/tests/floating_point_test.tpl
6 ===================================================================
7 --- libsndfile-1.0.18.orig/tests/floating_point_test.tpl
8 +++ libsndfile-1.0.18/tests/floating_point_test.tpl
9 @@ -111,7 +111,7 @@ main (int argc, char *argv [])
10 float_scaled_test ("flac_16.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_16, -87.0) ;
11 float_scaled_test ("flac_24.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_24, -138.0) ;
12
13 - float_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -31.0) ;
14 + float_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -21.0) ;
15 #endif
16
17 float_scaled_test ("replace_float.raw", allow_exit, SF_TRUE, SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_FLOAT, -163.0) ;
18 @@ -163,7 +163,7 @@ main (int argc, char *argv [])
19 double_scaled_test ("flac_16.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_16, -87.0) ;
20 double_scaled_test ("flac_24.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_24, -138.0) ;
21
22 - double_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -29.0) ;
23 + double_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -19.0) ;
24 #endif
25
26 double_scaled_test ("replace_double.raw", allow_exit, SF_TRUE, SF_FORMAT_RAW | SF_FORMAT_DOUBLE, -300.0) ;

  ViewVC Help
Powered by ViewVC 1.1.20