diff options
Diffstat (limited to 'config/check_modules.pl')
-rw-r--r-- | config/check_modules.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/check_modules.pl b/config/check_modules.pl index cc0a7ab0e7a..470c3e9c144 100644 --- a/config/check_modules.pl +++ b/config/check_modules.pl @@ -6,6 +6,7 @@ # use strict; use warnings; +use Config; use IPC::Run 0.79; @@ -19,5 +20,9 @@ diag("IPC::Run::VERSION: $IPC::Run::VERSION"); diag("Test::More::VERSION: $Test::More::VERSION"); diag("Time::HiRes::VERSION: $Time::HiRes::VERSION"); +# Check that if prove is using msys perl it is for an msys target +ok(($ENV{__CONFIG_HOST_OS__} || "") eq 'msys', + "Msys perl used for correct target") + if $Config{osname} eq 'msys'; ok(1); done_testing(); |