Mercurial > hg > nginx-tests
changeset 910:49579dd88e3f
Tests: localize $Test::Nginx::TODO for sanitizer errors.
It might nest if "phantom event" alerts are detected.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 20 Apr 2016 14:52:27 +0300 |
parents | 9045591d4304 |
children | 2668f30181eb |
files | lib/Test/Nginx.pm |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/Test/Nginx.pm Tue Apr 19 19:20:29 2016 +0300 +++ b/lib/Test/Nginx.pm Wed Apr 20 14:52:27 2016 +0300 @@ -77,6 +77,7 @@ } if (Test::More->builder->expected_tests) { + local $Test::Nginx::TODO; my $errors = $self->read_file('error.log'); $errors = join "\n", $errors =~ /.+Sanitizer.+/gm; Test::More::is($errors, '', 'no sanitizer errors');