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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
58d0d538
Commit
58d0d538
authored
Dec 07, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
valgrind for mysqltest
parent
d80516aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+4
-6
No files found.
mysql-test/mysql-test-run.sh
View file @
58d0d538
...
@@ -770,11 +770,6 @@ then
...
@@ -770,11 +770,6 @@ then
SLAVE_MYSQLD
=
$MYSQLD
SLAVE_MYSQLD
=
$MYSQLD
fi
fi
# If mysqltest should be valgrinded, add valgrind and options to MYSQL_TEST
if
!
[
-z
"
$VALGRIND_MYSQLTEST
"
]
;
then
MYSQL_TEST
=
"
$VALGRIND_MYSQLTEST
$MYSQL_TEST
"
fi
# If we should run all tests cases, we will use a local server for that
# If we should run all tests cases, we will use a local server for that
if
[
-z
"
$1
"
-a
-z
"
$DO_STRESS
"
]
if
[
-z
"
$1
"
-a
-z
"
$DO_STRESS
"
]
...
@@ -831,7 +826,10 @@ if [ x$USE_TIMER = x1 ] ; then
...
@@ -831,7 +826,10 @@ if [ x$USE_TIMER = x1 ] ; then
fi
fi
MYSQL_TEST_BIN
=
$MYSQL_TEST
MYSQL_TEST_BIN
=
$MYSQL_TEST
MYSQL_TEST
=
"
$MYSQL_TEST
$MYSQL_TEST_ARGS
"
MYSQL_TEST
=
"
$MYSQL_TEST
$MYSQL_TEST_ARGS
"
# Export MYSQL_TEST variable for use from .test files
export
MYSQL_TEST
export
MYSQL_TEST
GDB_CLIENT_INIT
=
$MYSQL_TMP_DIR
/gdbinit.client
GDB_CLIENT_INIT
=
$MYSQL_TMP_DIR
/gdbinit.client
GDB_MASTER_INIT
=
$MYSQL_TMP_DIR
/gdbinit.master
GDB_MASTER_INIT
=
$MYSQL_TMP_DIR
/gdbinit.master
GDB_SLAVE_INIT
=
$MYSQL_TMP_DIR
/gdbinit.slave
GDB_SLAVE_INIT
=
$MYSQL_TMP_DIR
/gdbinit.slave
...
@@ -1780,7 +1778,7 @@ run_testcase ()
...
@@ -1780,7 +1778,7 @@ run_testcase ()
$RM
-f
r/
$tname
.
*
reject
$RM
-f
r/
$tname
.
*
reject
mysql_test_args
=
"-R
$result_file
$EXTRA_MYSQL_TEST_OPT
"
mysql_test_args
=
"-R
$result_file
$EXTRA_MYSQL_TEST_OPT
"
if
[
-z
"
$DO_CLIENT_GDB
"
]
;
then
if
[
-z
"
$DO_CLIENT_GDB
"
]
;
then
`
$MYSQL_TEST
$mysql_test_args
<
$tf
2>
$TIMEFILE
`
;
`
$
VALGRIND_MYSQLTEST
$
MYSQL_TEST
$mysql_test_args
<
$tf
2>
$TIMEFILE
`
;
else
else
do_gdb_test
"
$mysql_test_args
"
"
$tf
"
do_gdb_test
"
$mysql_test_args
"
"
$tf
"
fi
fi
...
...
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