diff options
author | ariel faigon <github.2009@yendor.com> | 2014-08-24 01:52:13 +0400 |
---|---|---|
committer | ariel faigon <github.2009@yendor.com> | 2014-08-24 01:52:13 +0400 |
commit | 4906d59910da639d1beda69e6142242da2b71ec6 (patch) | |
tree | 24f56d8220330221b01516ca937580edfdf7ee08 /test/RunTests | |
parent | c04ba05cb392ed6ebf2606633410b98bec8581df (diff) |
Print testing env: hostname and OS in preamble.
Diffstat (limited to 'test/RunTests')
-rwxr-xr-x | test/RunTests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/RunTests b/test/RunTests index 02fe4685..c5a2a051 100755 --- a/test/RunTests +++ b/test/RunTests @@ -175,7 +175,9 @@ sub init() { getopts('wcdDefyE:ov:Vt:') || usage(); $opt_v = 0 unless (defined $opt_v and $opt_v); - print STDERR "testing $^O "; + my $hostname = `hostname`; chomp($hostname); + printf STDERR "Testing on: hostname=%s OS=%s\n", $hostname, $^O; + if ($^O =~ /MSWin/i) { v(1, "OS is $^O\n"); # On MS Windows we need to change paths to external executables |