Project:Perl/maint-notes/dev-perl/Finance-YahooQuote

From Gentoo Wiki
Jump to:navigation Jump to:search

Tests

Tests require network access.

root #DIST_TEST_OVERRIDE="do verbose network" FEATURES="-network-sandbox" emerge -va1 dev-perl/Finance-YahooQuote
CODE Expected Output
>>> Test phase: dev-perl/Finance-YahooQuote-0.250.0-r1
 * Compile testing Finance::YahooQuote 0.25 ...                                                                                                                                                                           [ ok ]
 * DIST_TEST_OVERRIDE is set to do verbose network
make -j3 --load-average=4 test TEST_VERBOSE=1 
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/01base.t ...... 
1..2
ok 1
ok 2
ok
t/02simple.t .... 
1..2
ok 1
ok 2
ok
t/03extended.t .. 
1..2
ok 1
ok 2
ok
t/04custom.t .... 
1..1
ok 1
ok
t/05test.t ...... 
1..1
$VAR1 = [
          [
            'International Business Machines',
            '4.96',
            '19.76'
          ],
          [
            'N/A',
            '0',
            '0'
          ]
        ];
ok 1
ok
All tests successful.
Files=5, Tests=8, 12 wallclock secs ( 0.03 usr  0.01 sys +  0.51 cusr  0.10 csys =  0.65 CPU)
Result: PASS