develooper Front page | perl.perl5.changes | Postings from June 2020

[Perl/perl5] f13c66: Suppress 2 runtime warnings

From:
James E Keenan
Date:
June 30, 2020 19:52
Subject:
[Perl/perl5] f13c66: Suppress 2 runtime warnings
Message ID:
Perl/perl5/push/refs/heads/io-core-p7-20200630/6c08b6-0828fc@github.com
  Branch: refs/heads/io-core-p7-20200630
  Home:   https://github.com/Perl/perl5
  Commit: f13c663c88278fa9b68894a6c44352815ef28eb8
      https://github.com/Perl/perl5/commit/f13c663c88278fa9b68894a6c44352815ef28eb8
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M t/io/argv.t

  Log Message:
  -----------
  Suppress 2 runtime warnings


  Commit: ea0ce60909ca7ef8916980ddcd60ab1d1f0078db
      https://github.com/Perl/perl5/commit/ea0ce60909ca7ef8916980ddcd60ab1d1f0078db
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M t/io/argv.t

  Log Message:
  -----------
  Add descriptions to most tests lacking them


  Commit: 0828fc7beaf23761a037d1c0c1e0e3db3ccf527a
      https://github.com/Perl/perl5/commit/0828fc7beaf23761a037d1c0c1e0e3db3ccf527a
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M t/io/layers.t

  Log Message:
  -----------
  t/io/layers.t: Handle uninitialized warnings

Running with warnings enabled reveals 3 instances of uninitialized value
warnings.  The tied object is not defined even though the code appears
to assign a value to it.  Add tests that demonstrate this, then suppress
the uninitialized value warnings.


Compare: https://github.com/Perl/perl5/compare/6c08b64a6788...0828fc7beaf2



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About