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
94806e01
Commit
94806e01
authored
Dec 22, 2000
by
tim@cane.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in FINISH.sh that kept CFLAGS from being used.
Allow multiple options to be passed to mysql-test-run.
parent
7e3fd8ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
38 deletions
+26
-38
BUILD/FINISH.sh
BUILD/FINISH.sh
+1
-1
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+25
-37
No files found.
BUILD/FINISH.sh
View file @
94806e01
...
...
@@ -6,7 +6,7 @@ for arg in "$@"; do
done
CFLAGS
=
"
$cflags
"
CXX
=
gcc
CXXFLAGS
=
"
$cxxflags
"
eval
"
$configure
"
eval
"CFLAGS='
$cflags
' CXX=gcc CXXFLAGS='
$cxxflags
'
$configure
"
if
[
"x
$do_make
"
=
"xno"
]
;
then
exit
0
...
...
mysql-test/mysql-test-run.sh
View file @
94806e01
...
...
@@ -60,7 +60,7 @@ TIMEFILE="$MYSQL_TEST_DIR/var/tmp/mysqltest-time"
RES_SPACE
=
" "
MYSQLD_SRC_DIRS
=
"strings mysys include extra regex isam merge myisam
\
myisammrg heap sql"
GCOV_MSG
=
/tmp/mysqld-gcov.out
#gcov output
GCOV_MSG
=
/tmp/mysqld-gcov.out
GCOV_ERR
=
/tmp/mysqld-gcov.err
MASTER_RUNNING
=
0
...
...
@@ -136,41 +136,29 @@ MYSQL_TEST="$MYSQL_TEST --no-defaults --socket=$MASTER_MYSOCK --database=$DB --u
GDB_MASTER_INIT
=
/tmp/gdbinit.master
GDB_SLAVE_INIT
=
/tmp/gdbinit.slave
if
[
"
$1
"
=
"--force"
]
;
then
FORCE
=
1
shift
1
fi
if
[
"
$1
"
=
"--record"
]
;
then
RECORD
=
1
shift
1
fi
if
[
"
$1
"
=
"--gcov"
]
;
then
if
[
x
$BINARY_DIST
=
x1
]
;
then
echo
"Cannot do coverage test without the source - please us source dist"
exit
1
fi
DO_GCOV
=
1
shift
1
fi
if
[
"
$1
"
=
"--gdb"
]
;
then
# if the user really wanted to run binary dist in a debugger, he can
# but we should warn him
if
[
x
$BINARY_DIST
=
x1
]
;
then
echo
"Note: you will get more meaningful output on a source distribution
\
compiled with debugging option when running tests with -gdb option"
fi
DO_GDB
=
1
shift
1
fi
while
test
$#
-gt
0
;
do
case
"
$1
"
in
--force
)
FORCE
=
1
;;
--record
)
RECORD
=
1
;;
--gcov
)
if
[
x
$BINARY_DIST
=
x1
]
;
then
echo
"Cannot do coverage test without the source - please use source dist"
exit
1
fi
DO_GCOV
=
1
;;
--gdb
)
if
[
x
$BINARY_DIST
=
x1
]
;
then
echo
"Note: you will get more meaningful output on a source distribution compiled with debugging option when running tests with -gdb option"
fi
DO_GDB
=
1
;;
--
)
shift
;
break
;;
--
*
)
echo
"Unrecognized option:
$1
"
;
exit
1
;;
*
)
break
;;
esac
shift
done
#++
# Function Definitions
...
...
@@ -289,7 +277,7 @@ start_slave()
{
[
x
$SKIP_SLAVE
=
x1
]
&&
return
[
x
$SLAVE_RUNNING
=
1
]
&&
return
if
[
-z
"
$SLAVE_MASTER_INF
O
"
]
;
then
if
[
-z
"
$SLAVE_MASTER_INF
"
]
;
then
master_info
=
"--master-user=root
\
--master-connect-retry=1
\
--master-host=127.0.0.1
\
...
...
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