diff options
author | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-12-14 09:21:22 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2014-01-03 14:15:31 +0200 |
commit | 27e47c72a25846e107b6e450c3a1480a2742382e (patch) | |
tree | bd0b17e00db912b461298c048dd9d57c5a6507f3 /src/tests/volume-test.c | |
parent | bef191be820cba76a142722c85f9d0389f901203 (diff) |
volume-test: Increase the allowed number of rouding errors
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=72374
Diffstat (limited to 'src/tests/volume-test.c')
-rw-r--r-- | src/tests/volume-test.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tests/volume-test.c b/src/tests/volume-test.c index a2daf3eb..1ab0b5ce 100644 --- a/src/tests/volume-test.c +++ b/src/tests/volume-test.c @@ -138,7 +138,13 @@ START_TEST (volume_test) { pa_log("max deviation: %lu n=%lu", (unsigned long) md, (unsigned long) mdn); fail_unless(md <= 1); - fail_unless(mdn <= 251); + + /* mdn counts the times there were rounding errors during the test. The + * number of rounding errors seems to vary slightly depending on the + * hardware. The original limit was 251 errors, but it was increased to 253 + * when the test was failing on Tanu's laptop. + * See https://bugs.freedesktop.org/show_bug.cgi?id=72374 */ + fail_unless(mdn <= 253); } END_TEST |