tests: auto detect cygwin

This commit is contained in:
Gregory Hainaut 2016-01-24 18:18:13 +01:00
parent e8f8d55010
commit 00dea566f2
1 changed files with 6 additions and 5 deletions

View File

@ -87,6 +87,12 @@ my $status = Getopt::Long::GetOptions(
'suite=s' => \$o_suite, '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 # Check option
##################################################### #####################################################
@ -126,11 +132,6 @@ unless (-d $o_cfg) {
help(); help();
} }
#if (`uname -a` =~ /cygwin/) {
# print "Info: CYGWIN env detected\n";
# $o_cygwin = 1;
#}
my %blacklist; my %blacklist;
if (defined $o_regression) { if (defined $o_regression) {
# Blacklist bad test # Blacklist bad test