Commit 39a8d796 authored by Sergei Golubchik's avatar Sergei Golubchik

don't run tokudb tests for --embedded by default

parent 47b615d8
...@@ -7,5 +7,6 @@ $ENV{TOKU_HUGE_PAGES_OK}=1; ...@@ -7,5 +7,6 @@ $ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server; #return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb}; return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
bless { }; bless { };
...@@ -8,7 +8,7 @@ $ENV{TOKU_HUGE_PAGES_OK}=1; ...@@ -8,7 +8,7 @@ $ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server; #return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb}; return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
sub is_default { 1 } sub is_default { not $::opt_embedded_server }
bless { }; bless { };
...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_add_index; ...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_add_index;
use File::Basename; use File::Basename;
@ISA = qw(My::Suite); @ISA = qw(My::Suite);
# Ensure we can run the TokuDB tests even if hugepages are enabled
$ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server; #return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb}; return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
sub is_default { 1 } sub is_default { not $::opt_embedded_server }
bless { }; bless { };
...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_alter_table; ...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_alter_table;
use File::Basename; use File::Basename;
@ISA = qw(My::Suite); @ISA = qw(My::Suite);
# Ensure we can run the TokuDB tests even if hugepages are enabled
$ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server; #return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb}; return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
sub is_default { 1 } sub is_default { not $::opt_embedded_server }
bless { }; bless { };
...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_bugs; ...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_bugs;
use File::Basename; use File::Basename;
@ISA = qw(My::Suite); @ISA = qw(My::Suite);
# Ensure we can run the TokuDB tests even if hugepages are enabled
$ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server; #return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb}; return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
sub is_default { 1 } sub is_default { not $::opt_embedded_server }
bless { }; bless { };
...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_mariadb; ...@@ -2,10 +2,13 @@ package My::Suite::TokuDB_mariadb;
use File::Basename; use File::Basename;
@ISA = qw(My::Suite); @ISA = qw(My::Suite);
# Ensure we can run the TokuDB tests even if hugepages are enabled
$ENV{TOKU_HUGE_PAGES_OK}=1;
#return "Not run for embedded server" if $::opt_embedded_server; #return "Not run for embedded server" if $::opt_embedded_server;
return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb}; return "No TokuDB engine" unless $ENV{HA_TOKUDB_SO} or $::mysqld_variables{tokudb};
sub is_default { 1 } sub is_default { not $::opt_embedded_server }
bless { }; bless { };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment