]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Output the build number for Win32 AS perls at the beginning of the tests
authorVincent Pit <vince@profvince.com>
Tue, 20 Jan 2009 19:59:58 +0000 (20:59 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 20 Jan 2009 19:59:58 +0000 (20:59 +0100)
t/00-load.t

index c64b78fa2c9856308933abf6e055ca3cb7663703..d130892c33a4392658d88603bac122852dfd469b 100644 (file)
@@ -12,3 +12,8 @@ BEGIN {
 my $p = Variable::Magic::VMG_PERL_PATCHLEVEL;
 $p = $p ? 'patchlevel ' . $p : 'no patchlevel';
 diag( "Testing Variable::Magic $Variable::Magic::VERSION, Perl $] ($p), $^X" );
+
+if ($^O eq 'MSWin32' && eval { require Win32; 1 }
+                     && defined &Win32::BuildNumber) {
+ diag "This is ActiveState Perl $] build " . Win32::BuildNumber();
+}