Is there a way to indicate from the test suite of a distribution that a CPAN 
tester machine lacks some software to test and use the distribution and that 
therefore no failure report should be sent?

I know that I can "exit 0" from Makefile.PL to get that result, but for the 
distribution at hand, Gtk3, it would be much more convenient if I could give 
the "unsupported system" signal from the test suite.  Instead of having to 
manually check for the presence and usability of the correct library and 
typelib, I could then just let the underlying infrastructure do its thing.

In <https://metacpan.org/source/XAOC/Gtk3-0.017/t/00-init.t>, I currently 
attempt this with the following code:

  BEGIN { require Gtk3; }
  my $success = eval { Gtk3->import; 1 };
  BAIL_OUT ("Cannot load Gtk3: $@")
    unless $success;

But that results in lots of failure reports like this one: 
<http://www.cpantesters.org/cpan/report/73cec7ae-38c4-11e4-984c-c33e65711713>.

Reply via email to