2 # Verify that required Perl modules are available,
3 # in at least the required minimum versions.
4 # (The required minimum versions are all quite ancient now,
5 # but specify them anyway for documentation's sake.)
13 # Test::More and Time::HiRes are supposed to be part of core Perl,
14 # but some distros omit them in a minimal installation.
18 # While here, we might as well report exactly what versions we found.
19 diag
("IPC::Run::VERSION: $IPC::Run::VERSION");
20 diag
("Test::More::VERSION: $Test::More::VERSION");
21 diag
("Time::HiRes::VERSION: $Time::HiRes::VERSION");
23 # Check that if prove is using msys perl it is for an msys target
24 ok
( ($ENV{__CONFIG_HOST_OS__
} || "") eq 'msys',
25 "Msys perl used for correct target") if $Config{osname
} eq 'msys';