~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/test-run.pl

  • Committer: Brian Aker
  • Date: 2009-04-08 06:40:24 UTC
  • mfrom: (974.1.3 dev)
  • Revision ID: brian@gaz-20090408064024-wclqe00xnchvob4n
Merge Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
our $opt_script_debug= 0;  # Script debugging, enable with --script-debug
131
131
our $opt_verbose= 0;  # Verbose output, enable with --verbose
132
132
 
 
133
our $opt_repeat_test= 1;
 
134
 
133
135
our $exe_master_mysqld;
134
136
our $exe_drizzle;
135
137
our $exe_drizzle_client_test;
561
563
             'testcase-timeout=i'       => \$opt_testcase_timeout,
562
564
             'suite-timeout=i'          => \$opt_suite_timeout,
563
565
             'warnings|log-warnings'    => \$opt_warnings,
 
566
             'repeat-test=i'            => \$opt_repeat_test,
564
567
 
565
568
             # Options which are no longer used
566
569
             (map { $_ => \&warn_about_removed_option } @removed_options),
1879
1882
 
1880
1883
  foreach my $tinfo ( @$tests )
1881
1884
  {
1882
 
    if (run_testcase_check_skip_test($tinfo))
 
1885
    foreach(1..$opt_repeat_test)
1883
1886
    {
1884
 
      next;
 
1887
      if (run_testcase_check_skip_test($tinfo))
 
1888
        {
 
1889
          next;
 
1890
        }
 
1891
 
 
1892
      mtr_timer_start($glob_timers,"testcase", 60 * $opt_testcase_timeout);
 
1893
      run_testcase($tinfo);
 
1894
      mtr_timer_stop($glob_timers,"testcase");
1885
1895
    }
1886
 
 
1887
 
    mtr_timer_start($glob_timers,"testcase", 60 * $opt_testcase_timeout);
1888
 
    run_testcase($tinfo);
1889
 
    mtr_timer_stop($glob_timers,"testcase");
1890
1896
  }
1891
1897
 
1892
1898
  mtr_print_line();
3486
3492
  combination="ARG1 .. ARG2" Specify a set of "mysqld" arguments for one
3487
3493
                        combination.
3488
3494
  skip-combination      Skip any combination options and combinations files
 
3495
  repeat-test=n         How many times to repeat each test (default: 1)
3489
3496
 
3490
3497
Options that specify ports
3491
3498