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
ac25ff76
Commit
ac25ff76
authored
Jul 13, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a trick for --client-gdb to work for both statically and dynamically linked client
better exit code checking
parent
e0d818f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+10
-5
No files found.
mysql-test/mysql-test-run.sh
View file @
ac25ff76
...
@@ -258,7 +258,12 @@ DASH72=`$ECHO '-----------------------------------------------------------------
...
@@ -258,7 +258,12 @@ DASH72=`$ECHO '-----------------------------------------------------------------
# on binary, use what is installed
# on binary, use what is installed
if
[
x
$SOURCE_DIST
=
x1
]
;
then
if
[
x
$SOURCE_DIST
=
x1
]
;
then
MYSQLD
=
"
$BASEDIR
/sql/mysqld"
MYSQLD
=
"
$BASEDIR
/sql/mysqld"
MYSQL_TEST
=
"
$BASEDIR
/client/.libs/lt-mysqltest"
# for --client-gdb to work
if
[
-e
"
$BASEDIR
/client/.libs/mysqltest"
]
;
then
[
-e
"
$BASEDIR
/client/.libs/lt-mysqltest"
]
||
$BASEDIR
/client/mysqltest
-V
MYSQL_TEST
=
"
$BASEDIR
/client/.libs/lt-mysqltest"
else
MYSQL_TEST
=
"
$BASEDIR
/client/mysqltest"
fi
MYSQLADMIN
=
"
$BASEDIR
/client/mysqladmin"
MYSQLADMIN
=
"
$BASEDIR
/client/mysqladmin"
MYSQL
=
"
$BASEDIR
/client/mysql"
MYSQL
=
"
$BASEDIR
/client/mysql"
LANGUAGE
=
"
$BASEDIR
/sql/share/english/"
LANGUAGE
=
"
$BASEDIR
/sql/share/english/"
...
@@ -788,7 +793,10 @@ run_testcase ()
...
@@ -788,7 +793,10 @@ run_testcase ()
$ECHO
"
$RES$RES_SPACE
[ pass ]"
$ECHO
"
$RES$RES_SPACE
[ pass ]"
else
else
# why the following ``if'' ? That is why res==1 is special ?
# why the following ``if'' ? That is why res==1 is special ?
if
[
$res
=
1
]
;
then
if
[
$res
=
2
]
;
then
skip_inc
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
else
total_inc
total_inc
fail_inc
fail_inc
$ECHO
"
$RES$RES_SPACE
[ fail ]"
$ECHO
"
$RES$RES_SPACE
[ fail ]"
...
@@ -812,9 +820,6 @@ run_testcase ()
...
@@ -812,9 +820,6 @@ run_testcase ()
fi
fi
$ECHO
"Resuming Tests"
$ECHO
"Resuming Tests"
$ECHO
""
$ECHO
""
else
skip_inc
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
fi
fi
fi
fi
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