mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
volume-test: Increase the allowed number of rouding errors
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=72374
This commit is contained in:
parent
bef191be82
commit
27e47c72a2
1 changed files with 7 additions and 1 deletions
|
|
@ -138,7 +138,13 @@ START_TEST (volume_test) {
|
||||||
pa_log("max deviation: %lu n=%lu", (unsigned long) md, (unsigned long) mdn);
|
pa_log("max deviation: %lu n=%lu", (unsigned long) md, (unsigned long) mdn);
|
||||||
|
|
||||||
fail_unless(md <= 1);
|
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
|
END_TEST
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue