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