develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] 0f35d6: t/op/sselect.t: skip 4 tests under miniperl

From:
James E Keenan via perl5-changes
Date:
August 7, 2022 23:03
Subject:
[Perl/perl5] 0f35d6: t/op/sselect.t: skip 4 tests under miniperl
Message ID:
Perl/perl5/push/refs/heads/blead/3c196e-0f35d6@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0f35d66c8dc2d97a67f09f88b802390fea7d458c
      https://github.com/Perl/perl5/commit/0f35d66c8dc2d97a67f09f88b802390fea7d458c
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2022-08-07 (Sun, 07 Aug 2022)

  Changed paths:
    M t/op/sselect.t

  Log Message:
  -----------
  t/op/sselect.t: skip 4 tests under miniperl

Commit 85907e6fd46 (July 22 2022) added unit tests to t/op/sselect.t but
failed to take into consideration that this file is run as part of 'make
minitest'.  When we run that command, we get this result:

    t/op/sselect .... FAILED--unexpected output at test 17

... which is due in part to a quirk in t/TEST.  To avoid this problem we
should SKIP the block of tests in question if we're running with
miniperl.

Remove nested 'SKIP:' block declaration; Not needed, per review by
@LeonT.  Remove superfluous comma, spotted by @FGaspar.





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