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
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
Show 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 '-----------------------------------------------------------------
# on binary, use what is installed
if
[
x
$SOURCE_DIST
=
x1
]
;
then
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"
MYSQL
=
"
$BASEDIR
/client/mysql"
LANGUAGE
=
"
$BASEDIR
/sql/share/english/"
...
...
@@ -788,7 +793,10 @@ run_testcase ()
$ECHO
"
$RES$RES_SPACE
[ pass ]"
else
# 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
fail_inc
$ECHO
"
$RES$RES_SPACE
[ fail ]"
...
...
@@ -812,9 +820,6 @@ run_testcase ()
fi
$ECHO
"Resuming Tests"
$ECHO
""
else
skip_inc
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
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