Project:Perl/maint-notes/dev-perl/Data-Random

From Gentoo Wiki
Jump to: navigation, search

Optional Features

This module contains a function, rand_image, which is not often used, but the usage of it requires dev-perl/GD

In order to make use of this function, one must first manually install dev-perl/GD

If it turns out there are dependencies of dev-perl/Data-Random that need this function to work, please file a bug, and it will be commuted to a USE flag.

Testing

To comprehensively test this module, please first install dev-perl/GD before running tests.

Any test failures are a bug.

Successful output should resemble

CODE
>> Test phase: dev-perl/Data-Random-0.130.0
 * Comprehensive testing of this package may involve manual steps.
 * For details, see:
 *  https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Data-Random#Testing
 * Test::Harness Jobs=3
make -j3 --load-average=4 test TEST_VERBOSE=0 
Skip blib/lib/auto/share/dist/Data-Random/README2.linux.words (unchanged)
Skip blib/lib/auto/share/dist/Data-Random/README.linux.words (unchanged)
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/*.t
t/00.load.t ........ ok                                                 
t/rand_chars.t ..... ok                                                 
t/rand_enum.t ...... ok                                                 
t/rand_image.t ..... ok                                                 
t/rand_set.t ....... ok                                                 
t/rand_time.t ...... ok                                                 
t/rand_words.t ..... ok                                                 
t/rand_datetime.t .. ok                                                 
t/rand_date.t ...... ok       
All tests successful.
Files=9, Tests=30026,  7 wallclock secs ( 3.97 usr  0.38 sys + 15.31 cusr  1.03 csys = 20.69 CPU)
Result: PASS
>>> Completed testing dev-perl/Data-Random-0.130.0