~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/test-run.pl

  • Committer: Mark Atwood
  • Date: 2011-10-07 05:07:22 UTC
  • mfrom: (2429.1.1 drizzle-build)
  • Revision ID: me@mark.atwood.name-20111007050722-eigkrbzyepmg900c
mergeĀ lp:~brianaker/drizzle/remove-copy-schema-test-pl

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
our $lib_udf_example;
170
170
our $lib_example_plugin;
171
171
our $exe_libtool;
172
 
our $exe_schemawriter;
173
172
 
174
173
our $opt_bench= 0;
175
174
our $opt_small_bench= 0;
1306
1305
     }
1307
1306
  }
1308
1307
 
1309
 
# Look for schema_writer
1310
 
  {
1311
 
    $exe_schemawriter= dtr_exe_exists("$glob_basedir/drizzled/message/schema_writer",
1312
 
                                      "$glob_builddir/drizzled/message/schema_writer");
1313
 
  }
1314
 
 
1315
1308
# Look for drizzletest executable
1316
1309
  {
1317
1310
    $exe_drizzletest= dtr_exe_exists("$path_client_bindir/drizzletest");
1825
1818
  mkpath("$opt_vardir/tmp");
1826
1819
  mkpath($opt_tmpdir) if $opt_tmpdir ne "$opt_vardir/tmp";
1827
1820
 
1828
 
  # Create new data dirs
1829
1821
  foreach my $data_dir (@data_dir_lst)
1830
1822
  {
1831
 
    mkpath("$data_dir/local/mysql");
1832
 
    system("$exe_schemawriter mysql $data_dir/local/mysql/db.opt");
1833
 
 
1834
 
    mkpath("$data_dir/local/test");
1835
 
    system("$exe_schemawriter test $data_dir/local/test/db.opt");
 
1823
      mkpath("$data_dir");
1836
1824
  }
1837
1825
 
1838
1826
  # Make a link std_data_ln in var/ that points to std_data