This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/apicheck.pl: Don't skip some cases
authorKarl Williamson <khw@cpan.org>
Sun, 28 Jul 2019 19:45:25 +0000 (13:45 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:51:27 +0000 (16:51 -0600)
commit7d0cbfbade78ee0e3ad21b66a24e4e64827051d6
treebbb4dec3afdb36dc3bc565983cd794bbfe45be62
parentdaa565d026db59bdc912c9e6c35dfa9f5eb6ba1e
parts/apicheck.pl: Don't skip some cases

We only should create a single test for a given function.  But if that
function is like this:

  #if foo
    int bar(...)
  #else
    char bar(...)
  #endif

We would only generate a test for the 'foo' case.  Uniqueness of a
function includes the compile time conditional expression for it.

(cherry picked from commit 2d6698cc1724195e18acd67fb8fddf9527372eda)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/PPPort_pm.PL
dist/Devel-PPPort/parts/apicheck.pl
dist/Devel-PPPort/parts/inc/ppphbin
dist/Devel-PPPort/parts/ppptools.pl