Make ma_test_all-t find its eggs on Darwin machines.

storage/maria/unittest/ma_test_all-t:
  .exe is for win32, win64, cygwin, but not darwin
This commit is contained in:
unknown 2008-02-21 23:05:27 +01:00
parent e068ad620b
commit b35c0fbc0d

View File

@ -52,7 +52,7 @@ sub run_tests
}
$maria_path= dirname($0) . "/..";
my $suffix= ( $^O =~ /win/i ) ? ".exe" : "";
my $suffix= ( $^O =~ /win/i && $^O !~ /darwin/i ) ? ".exe" : "";
$maria_exe_path= "$maria_path/release";
# we use -f, sometimes -x is unexpectedly false in Cygwin
if ( ! -f "$maria_exe_path/ma_test1$suffix" )