[Bug 1299473] New: perl-Business-PayPal-API-0.73-1.fc24 FTBFS: tests fail on bootstrap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1299473

            Bug ID: 1299473
           Summary: perl-Business-PayPal-API-0.73-1.fc24 FTBFS: tests fail
                    on bootstrap
           Product: Fedora
           Version: rawhide
         Component: perl-Business-PayPal-API
          Assignee: ddick@xxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: ddick@xxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx



perl-Business-PayPal-API-0.73-1.fc24 fails to build in F24 when bootstrapping:

+ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/advanced/*.t t/basic/*.t
t/advanced/ExpressCheckout.t ........ skipped: No WPP_TEST env var set. Please
see README to run tests
t/advanced/ExpressOrder.t ........... skipped: No WPP_TEST env var set. Please
see README to run tests
t/advanced/GetTransactionDetails.t .. skipped: No WPP_TEST env var set. Please
see README to run tests
IPC::System::Simple required for Fatalised/autodying system() at
t/advanced/OptionFields.t line 2.
    main::BEGIN() called at t/advanced/OptionFields.t line 2
    eval {...} called at t/advanced/OptionFields.t line 2
BEGIN failed--compilation aborted at t/advanced/OptionFields.t line 2.
t/advanced/OptionFields.t ........... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/advanced/RefundTransaction.t ...... skipped: No WPP_TEST env var set. Please
see README to run tests
t/advanced/TransactionSearch.t ...... skipped: No WPP_TEST env var set. Please
see README to run tests
t/basic/Business-PayPal-API.t ....... ok
t/basic/DirectPayments.t ............ skipped: No WPP_TEST env var set. Please
see README to run tests
t/basic/MassPay.t ................... skipped: No WPP_TEST env var set. Please
see README to run tests
t/basic/RecurringPayments.t ......... skipped: No WPP_TEST env var set. Please
see README to run tests
IPC::System::Simple required for Fatalised/autodying system() at
t/basic/SubscriptionPayments.t line 4.
    main::BEGIN() called at t/basic/SubscriptionPayments.t line 4
    eval {...} called at t/basic/SubscriptionPayments.t line 4
BEGIN failed--compilation aborted at t/basic/SubscriptionPayments.t line 4.
t/basic/SubscriptionPayments.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)

This is because the two tests use an autodie feature that requires
IPC::System::Simple module that is not build-requires by the spec file.

Actually the autodie and IPC::System::Simple modules are not needed at all if
the tests were written properly. See
<https://github.com/oalders/business-paypal-api/issues/9>.

I will change the test to drop the useless dependencies.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux