1
package GenTest::Reporter::WinPackage;
4
@ISA = qw(GenTest::Reporter);
9
use GenTest::Constants;
10
use GenTest::Reporter;
14
my $bindir = $reporter->serverInfo('bindir');
15
my $datadir = $reporter->serverVariable('datadir');
16
$datadir =~ s{[\\/]$}{}sgio;
19
foreach my $file ('mysqld.exe', 'mysqld.pdb') {
20
my $old_loc = $bindir.'\\'.$file;
21
my $new_loc = $datadir.'\\'.$file;
22
say("Copying $old_loc to $new_loc .");
23
copy($old_loc, $new_loc);
31
return REPORTER_TYPE_CRASH | REPORTER_TYPE_DEADLOCK ;