1 # Check if CrashReporter is enabled and would open a window
5 # Only relevant on Mac OS X
6 return 0 unless $^O eq
'darwin';
7 my $crep= `defaults read com.apple.CrashReporter DialogType`;
11 return ($crep eq
'basic' || $crep eq
'developer');
13 my $skip= skip_test();
14 open (F,
">" . $ENV{
'MYSQL_TMP_DIR'} .
"/crashrep.inc");
15 print F
"let \$crashrep= $skip;\n";
19 --source $MYSQL_TMP_DIR/crashrep.inc
20 --remove_file $MYSQL_TMP_DIR/crashrep.inc
23 --
skip CrashReporter would popup a window