NAME
Parrot::Configure::Options::Test::Prepare
ABSTRACT
Prepare the lists of tests run before and after configuration when --test
option is provided to Configure.pl.
SYNOPSIS
In Configure.pl:
use Parrot::Configure::Options::Test::Prepare qw(
get_preconfiguration_tests
get_postconfiguration_tests
get_steps_missing_tests
);
...
$opttest->run_configure_tests( get_preconfiguration_tests() );
...
$opttest->run_build_tests( get_postconfiguration_tests() );
DESCRIPTION
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/pharness/
get_steps_missing_tests()
Returns a list of those configuration steps (in format like, e.g.,
auto::stat
) those configuration steps currently lacking tests in t/steps/.
AUTHOR
James E Keenan.
SEE ALSO
Configure.pl. lib/Parrot/Configure/Options/Test.pm.