Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c9e4532004f523b84aadea8cc49f4b5ee20488cd
      
https://github.com/Perl/perl5/commit/c9e4532004f523b84aadea8cc49f4b5ee20488cd
  Author: Graham Knop <ha...@haarg.org>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
    M dist/XSLoader/t/XSLoader.t

  Log Message:
  -----------
  XSLoader: convert from Test::More to internal test helpers

The XSLoader tests need to play with the XS bits of various modules,
which can interfere with testing modules like Test::More. For example,
Test::More now loads Time::HiRes. This results in redefinition warnings,
and could lead to more serious problems.

Avoid this by creating some test helpers inside the XSLoader test, and
using those rather than Test::More.

The helpers implemented include roughly the same features used by the
test itself, so that the impact on the rest of the test code is minimal.


Reply via email to