Mercurial > hg > nginx-tests
changeset 862:3021b44d0594
Tests: added mp4.t TODO for nginx built on i386 hosts by gcc 5.
This produces i387 instructions that is a subject to rounding error.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Mar 2016 12:56:41 +0300 |
parents | 6868e610eacc |
children | 44a9a45aa041 |
files | mp4.t |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mp4.t Tue Mar 01 12:55:59 2016 +0300 +++ b/mp4.t Tue Mar 01 12:56:41 2016 +0300 @@ -13,6 +13,8 @@ use Test::More; +use Config; + BEGIN { use FindBin; chdir($FindBin::Bin); } use lib 'lib'; @@ -70,8 +72,15 @@ is(durations($t, 2.7, 5.6), '2.9 2.9', 'start end float'); is(durations($t, undef, 9), '9.0 9.0', 'end integer'); + +TODO: { +local $TODO = 'not yet' + if $Config{myarchname} =~ /i.86/ && $t->has_module('built by gcc 5'); + is(durations($t, undef, 5.6), '5.6 5.6', 'end float'); +} + # invalid range results in ignoring end argument like(http_head('/test.mp4?start=1&end=1'), qr/200 OK/, 'zero range');