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
f9588a3d
Commit
f9588a3d
authored
Oct 12, 2000
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-test-run BSD cleanups
parent
6b214fb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
mysql-test/mysql-test-run
mysql-test/mysql-test-run
+7
-8
No files found.
mysql-test/mysql-test-run
View file @
f9588a3d
...
@@ -56,11 +56,11 @@ MYERR="$CWD/var/log/mysqld.err"
...
@@ -56,11 +56,11 @@ MYERR="$CWD/var/log/mysqld.err"
#++
#++
# Program Definitions
# Program Definitions
#--
#--
BASENAME
=
/bin/basename
BASENAME
=
`
which
basename
`
CAT
=
/bin/cat
CAT
=
/bin/cat
CUT
=
/usr/bin/cut
CUT
=
/usr/bin/cut
ECHO
=
/bin/echo
ECHO
=
/bin/echo
EXPR
=
/usr/bin/expr
EXPR
=
`
which
expr
`
PRINTF
=
/usr/bin/printf
PRINTF
=
/usr/bin/printf
RM
=
/bin/rm
RM
=
/bin/rm
TIME
=
/usr/bin/time
TIME
=
/usr/bin/time
...
@@ -70,8 +70,7 @@ MYSQL_TEST="$BASEDIR/client/mysqltest"
...
@@ -70,8 +70,7 @@ MYSQL_TEST="$BASEDIR/client/mysqltest"
MYSQLADMIN
=
"
$BASEDIR
/client/mysqladmin"
MYSQLADMIN
=
"
$BASEDIR
/client/mysqladmin"
MYSQL_TEST
=
"
$MYSQL_TEST
--socket=
$MYSOCK
--database=
$DB
--user=
$DBUSER
--password=
$DBPASSWD
--silent"
MYSQL_TEST
=
"
$MYSQL_TEST
--socket=
$MYSOCK
--database=
$DB
--user=
$DBUSER
--password=
$DBPASSWD
--silent"
INSTALL_DB
=
"
$MYBIN
/mysql-test_install_db"
INSTALL_DB
=
"
$MYBIN
/mysql-test_install_db"
[
$1
=
"-gcov"
]
&&
DO_GCOV
=
1
[
"
$1
"
=
"-gcov"
]
&&
DO_GCOV
=
1
#++
#++
# Terminal Modifications
# Terminal Modifications
#--
#--
...
@@ -81,8 +80,6 @@ SETCOLOR_FAILURE="$ECHO -n [1;31m"
...
@@ -81,8 +80,6 @@ SETCOLOR_FAILURE="$ECHO -n [1;31m"
SETCOLOR_WARNING
=
"
$ECHO
-n [1;33m"
SETCOLOR_WARNING
=
"
$ECHO
-n [1;33m"
SETCOLOR_NORMAL
=
"
$ECHO
-n [0;39m"
SETCOLOR_NORMAL
=
"
$ECHO
-n [0;39m"
#++
#++
# Function Definitions
# Function Definitions
#--
#--
...
@@ -233,7 +230,9 @@ mysql_loadstd () {
...
@@ -233,7 +230,9 @@ mysql_loadstd () {
return
1
return
1
}
}
[
$DO_GCOV
=
1
]
&&
gcov_clean
# clean up stale gcov files if running with gcov
[
"
$DO_GCOV
"
-a
!
-x
"
$GCOV
"
]
&&
error
"No gcov found"
[
"
$DO_GCOV
"
]
&&
gcov_clean
# clean up stale gcov files if running with gcov
mysql_install_db
mysql_install_db
...
@@ -315,6 +314,6 @@ $ECHO
...
@@ -315,6 +314,6 @@ $ECHO
report_stats
report_stats
$ECHO
$ECHO
[
$DO_GCOV
=
1
]
&&
gcov_collect
# collect coverage information
[
"
$DO_GCOV
"
]
&&
gcov_collect
# collect coverage information
exit
0
exit
0
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