~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/mtr_cases.pl

  • Committer: Monty Taylor
  • Date: 2008-07-22 05:48:51 UTC
  • mto: (202.1.3 toru)
  • mto: This revision was merged to the branch mainline in revision 204.
  • Revision ID: monty@inaugust.com-20080722054851-airxt73370725p7x
Re-enabled optimizations for the normal build, and added back the --with-debug option to turn them off. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
 
527
527
  my $tinfo= {};
528
528
  $tinfo->{'name'}= basename($suite) . ".$tname";
529
 
  if ( -f "$resdir/$::opt_engine/$tname.result")
530
 
  {
531
 
    $tinfo->{'result_file'}= "$resdir/$::opt_engine/$tname.result";
532
 
  }
533
 
  else
534
 
  {
535
 
    $tinfo->{'result_file'}= "$resdir/$tname.result";
536
 
  }
 
529
  $tinfo->{'result_file'}= "$resdir/$tname.result";
537
530
  $tinfo->{'component_id'} = $component_id;
538
531
  push(@$cases, $tinfo);
539
532
 
629
622
      {
630
623
        # Specifies the file mysqltest should compare
631
624
        # output against
632
 
        if ( -f "r/$::opt_engine/$value.result")
633
 
        {
634
 
          $tinfo->{'result_file'}= "r/$::opt_engine/$value.result";
635
 
        }
636
 
        else
637
 
        {
638
 
          $tinfo->{'result_file'}= "r/$value.result";
639
 
        }
640
 
 
 
625
        $tinfo->{'result_file'}= "r/$value.result";
641
626
        next;
642
627
      }
643
628