Branch: refs/heads/haarg/xsloader-without-test-more
  Home:   https://github.com/Perl/perl5
  Commit: 6e45fbf103c5e266e6a3a89340136a23b296848c
      
https://github.com/Perl/perl5/commit/6e45fbf103c5e266e6a3a89340136a23b296848c
  Author: Graham Knop <ha...@haarg.org>
  Date:   2022-05-30 (Mon, 30 May 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