tests: auto detect cygwin

This commit is contained in:
Gregory Hainaut 2016-01-24 18:18:13 +01:00
parent e8f8d55010
commit 00dea566f2

View File

@ -87,6 +87,12 @@ my $status = Getopt::Long::GetOptions(
'suite=s' => \$o_suite,
);
# Auto detect cygwin mess
if (-e "/cydrive") {
print "Info: CYGWIN OS detected. Update path accordingly\n";
$o_cygwin = 1;
}
#####################################################
# Check option
#####################################################
@ -126,11 +132,6 @@ unless (-d $o_cfg) {
help();
}
#if (`uname -a` =~ /cygwin/) {
# print "Info: CYGWIN env detected\n";
# $o_cygwin = 1;
#}
my %blacklist;
if (defined $o_regression) {
# Blacklist bad test