tests/vorbis_test.c : Relax test slighly to allow test to pass on more CPUs etc.

This commit is contained in:
Erik de Castro Lopo 2009-03-04 11:44:42 +11:00
parent 1a9dd0819b
commit 85c6b26122
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/vorbis_test.c
Relax test slighly to allow test to pass on more CPUs etc.
2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac

View File

@ -96,8 +96,8 @@ vorbis_test (void)
for (k = 0 ; k < ARRAY_LEN (float_data) ; k ++)
max_abs = max_float (max_abs, fabs (float_data [k])) ;
if (max_abs > 1.02)
{ printf ("\n\n Error : max_abs %f should be < 1.02.\n\n", max_abs) ;
if (max_abs > 1.021)
{ printf ("\n\n Error : max_abs %f should be < 1.021.\n\n", max_abs) ;
exit (1) ;
} ;