| parrotcode: Parrot::Configure::Options::Test::Prepare | |
| Contents | Perl Modules | 

Parrot::Configure::Options::Test::Prepare

Prepare the lists of tests run before and after configuration when --test option is provided to Configure.pl.

In Configure.pl:
    use Parrot::Configure::Options::Test::Prepare qw(
        get_preconfiguration_tests
        get_postconfiguration_tests
    );
    ...
    $opttest->run_configure_tests( get_preconfiguration_tests() );
    ...
    $opttest->run_build_tests( get_postconfiguration_tests() );

This module exports on demand two subroutines, each of which takes no arguments and returns a list:
get_preconfiguration_tests()Returns a list of the tests of the mechanics of the configuration system found in t/configure/ and tests of the configuration step classes found in t/steps/.
get_postconfiguration_tests()Returns a list of the tests found in these directories:
    t/postconfigure/
    t/tools/pmc2cutils/
    t/tools/ops2cutils/
    t/tools/ops2pmutils/
    t/pharness/

James E Keenan.

|  |   |