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
49dc9c59
Commit
49dc9c59
authored
May 22, 2007
by
joerg@trift2
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M50/bug26609-5.0
into trift2.:/MySQL/M51/bug26609-5.1
parents
8a0f37d5
11850044
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
32 deletions
+42
-32
Makefile.am
Makefile.am
+2
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+40
-32
No files found.
Makefile.am
View file @
49dc9c59
...
...
@@ -131,6 +131,8 @@ test-bt:
@PERL@ ./mysql-test-run.pl
--force
--comment
=
rpl
--suite
=
rpl
-
cd
mysql-test
;
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--force
--comment
=
partitions
--suite
=
parts
-
cd
mysql-test
;
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--force
--comment
=
rowlock
--suite
=
row_lock
# Re-enable the "jp" suite when bug#28563 is fixed
# -cd mysql-test ; MTR_BUILD_THREAD=auto \
...
...
scripts/make_binary_distribution.sh
View file @
49dc9c59
...
...
@@ -117,13 +117,43 @@ case $system in
;;
esac
# This is needed to prefer GNU tar over platform tar because that can't
# always handle long filenames
PATH_DIRS
=
`
echo
$PATH
|
\
sed
-e
's/^:/. /'
-e
's/:$/ ./'
-e
's/::/ . /g'
-e
's/:/ /g'
`
which_1
()
{
for
cmd
do
for
d
in
$PATH_DIRS
do
for
file
in
$d
/
$cmd
do
if
[
-x
$file
-a
!
-d
$file
]
;
then
echo
$file
exit
0
fi
done
done
done
exit
1
}
tar
=
`
which_1 gnutar gtar
`
if
[
"
$?
"
=
"1"
-o
x
"
$tar
"
=
x
""
]
;
then
tar
=
tar
fi
mkdir
$BASE
$BASE
/bin
$BASE
/docs
\
$BASE
/include
$BASE
/lib
$BASE
/support-files
$BASE
/share
$BASE
/scripts
\
$BASE
/mysql-test
$BASE
/mysql-test/t
$BASE
/mysql-test/r
\
$BASE
/mysql-test/include
$BASE
/mysql-test/std_data
$BASE
/mysql-test/lib
\
$BASE
/mysql-test/extra
\
$BASE
/mysql-test/extra/binlog_tests
$BASE
/mysql-test/extra/rpl_tests
$BASE
/mysql-test/extra/binlog_tests
$BASE
/mysql-test/extra/rpl_tests
\
$BASE
/mysql-test/suite
if
[
$BASE_SYSTEM
!=
"netware"
]
;
then
mkdir
$BASE
/share/mysql
$BASE
/tests
$BASE
/sql-bench
$BASE
/man
\
...
...
@@ -134,8 +164,8 @@ fi
# Copy files if they exists, warn for those that don't.
# Note that when listing files to copy, we might list the file name
# twice, once in the directory location where it is buil
d
, and a
# second time in the ".libs" location. In the case the firs one
# twice, once in the directory location where it is buil
t
, and a
# second time in the ".libs" location. In the case the firs
t
one
# is a wrapper script, the second one will overwrite it with the
# binary file.
copyfileto
()
...
...
@@ -294,6 +324,13 @@ MCP mysql-test/r/*.require $BASE/mysql-test/r
MCP mysql-test/extra/binlog_tests/
*
.test
$BASE
/mysql-test/extra/binlog_tests
MCP mysql-test/extra/rpl_tests/
*
.test
$BASE
/mysql-test/extra/rpl_tests
# Copy the additional suites "as is", they are in flux
$tar
cf - mysql-test/suite |
(
cd
$BASE
;
$tar
xf -
)
# Clean up if we did this from a bk tree
if
[
-d
mysql-test/SCCS
]
;
then
find
$BASE
/mysql-test
-name
SCCS
-print
| xargs
rm
-rf
fi
if
[
$BASE_SYSTEM
!=
"netware"
]
;
then
chmod
a+x
$BASE
/bin/
*
copyfileto
$BASE
/bin scripts/
*
...
...
@@ -397,41 +434,12 @@ if [ x$DEBUG = x1 ] ; then
exit
fi
# This is needed to prefere gnu tar instead of tar because tar can't
# always handle long filenames
PATH_DIRS
=
`
echo
$PATH
|
\
sed
-e
's/^:/. /'
-e
's/:$/ ./'
-e
's/::/ . /g'
-e
's/:/ /g'
`
which_1
()
{
for
cmd
do
for
d
in
$PATH_DIRS
do
for
file
in
$d
/
$cmd
do
if
[
-x
$file
-a
!
-d
$file
]
;
then
echo
$file
exit
0
fi
done
done
done
exit
1
}
if
[
$BASE_SYSTEM
!=
"netware"
]
;
then
#
# Create the result tar file
#
tar
=
`
which_1 gnutar gtar
`
if
[
"
$?
"
=
"1"
-o
x
"
$tar
"
=
x
""
]
;
then
tar
=
tar
fi
echo
"Using
$tar
to create archive"
OPT
=
cvf
...
...
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