Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
678a3587
Commit
678a3587
authored
Apr 04, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip test cases if the script or binary they need can't be found
parent
3b1fc84a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
8 deletions
+22
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-6
mysql-test/t/fix_priv_tables.test
mysql-test/t/fix_priv_tables.test
+7
-0
mysql-test/t/system_mysql_db_fix30020.test
mysql-test/t/system_mysql_db_fix30020.test
+6
-2
mysql-test/t/system_mysql_db_fix40123.test
mysql-test/t/system_mysql_db_fix40123.test
+7
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
678a3587
...
@@ -724,8 +724,6 @@ sub command_line_setup () {
...
@@ -724,8 +724,6 @@ sub command_line_setup () {
{
{
$mysqld_variables
{'
port
'}
=
3306
;
$mysqld_variables
{'
port
'}
=
3306
;
$mysqld_variables
{'
master-port
'}
=
3306
;
$mysqld_variables
{'
master-port
'}
=
3306
;
$opt_skip_ndbcluster
=
1
;
$opt_skip_im
=
1
;
}
}
if
(
$opt_comment
)
if
(
$opt_comment
)
...
@@ -1235,6 +1233,7 @@ sub command_line_setup () {
...
@@ -1235,6 +1233,7 @@ sub command_line_setup () {
{
{
# Turn off features not supported when running with extern server
# Turn off features not supported when running with extern server
$opt_skip_rpl
=
1
;
$opt_skip_rpl
=
1
;
$opt_skip_ndbcluster
=
1
;
# Setup master->[0] with the settings for the extern server
# Setup master->[0] with the settings for the extern server
$master
->
[
0
]
->
{'
path_sock
'}
=
$opt_socket
?
$opt_socket
:
"
/tmp/mysql.sock
";
$master
->
[
0
]
->
{'
path_sock
'}
=
$opt_socket
?
$opt_socket
:
"
/tmp/mysql.sock
";
...
@@ -2011,10 +2010,7 @@ sub environment_setup () {
...
@@ -2011,10 +2010,7 @@ sub environment_setup () {
$ENV
{'
MYSQL_FIX_SYSTEM_TABLES
'}
=
$cmdline_mysql_fix_system_tables
;
$ENV
{'
MYSQL_FIX_SYSTEM_TABLES
'}
=
$cmdline_mysql_fix_system_tables
;
}
}
if
(
!
$opt_extern
)
$ENV
{'
MYSQL_FIX_PRIVILEGE_TABLES
'}
=
$file_mysql_fix_privilege_tables
;
{
$ENV
{'
MYSQL_FIX_PRIVILEGE_TABLES
'}
=
$file_mysql_fix_privilege_tables
;
}
# ----------------------------------------------------
# ----------------------------------------------------
# Setup env so childs can execute my_print_defaults
# Setup env so childs can execute my_print_defaults
...
...
mysql-test/t/fix_priv_tables.test
View file @
678a3587
# Embedded server doesn't support external clients
# Embedded server doesn't support external clients
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
# Don't run this test if $MYSQL_FIX_PRIVILEGE_TABLES isn't set
# to the location of mysql_fix_privilege_tables.sql
if
(
`SELECT LENGTH("$MYSQL_FIX_PRIVILEGE_TABLES") <= 0`
)
{
skip
Test
need
MYSQL_FIX_PRIVILEGE_TABLES
;
}
#
#
# This is the test for mysql_fix_privilege_tables
# This is the test for mysql_fix_privilege_tables
# It checks that a system tables from mysql 4.1.23
# It checks that a system tables from mysql 4.1.23
...
...
mysql-test/t/system_mysql_db_fix30020.test
View file @
678a3587
# Embedded server doesn't support external clients
# Embedded server doesn't support external clients
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
# Windows doesn't support execution of shell scripts (to fix!!)
# Don't run this test if $MYSQL_FIX_SYSTEM_TABLES isn't set
--
source
include
/
not_windows
.
inc
# to the location of mysql_fix_privilege_tables.sql
if
(
`SELECT LENGTH("$MYSQL_FIX_SYSTEM_TABLES") <= 0`
)
{
skip
Test
need
MYSQL_FIX_SYSTEM_TABLES
;
}
#
#
# This is the test for mysql_fix_privilege_tables
# This is the test for mysql_fix_privilege_tables
...
...
mysql-test/t/system_mysql_db_fix40123.test
View file @
678a3587
# Embedded server doesn't support external clients
# Embedded server doesn't support external clients
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
# Don't run this test if $MYSQL_FIX_PRIVILEGE_TABLES isn't set
# to the location of mysql_fix_privilege_tables.sql
if
(
`SELECT LENGTH("$MYSQL_FIX_PRIVILEGE_TABLES") <= 0`
)
{
skip
Test
need
MYSQL_FIX_PRIVILEGE_TABLES
;
}
#
#
# This is the test for mysql_fix_privilege_tables
# This is the test for mysql_fix_privilege_tables
# It checks that a system tables from mysql 4.1.23
# It checks that a system tables from mysql 4.1.23
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment