Commit b863d726 authored by unknown's avatar unknown

Update make_win_bin_dist to also copy mysql-test/suite directory


scripts/make_win_bin_dist:
  Copy all directories in mysql-test/suite/
  Allow no *.slave-mi to be found in mysql-test/t
parent 4e599048
...@@ -304,7 +304,7 @@ cp mysys/$TARGET/mysys.lib $DESTDIR/lib/opt/mysys_tls.lib ...@@ -304,7 +304,7 @@ cp mysys/$TARGET/mysys.lib $DESTDIR/lib/opt/mysys_tls.lib
mkdir -p $DESTDIR/mysql-test/include $DESTDIR/mysql-test/lib \ mkdir -p $DESTDIR/mysql-test/include $DESTDIR/mysql-test/lib \
$DESTDIR/mysql-test/r $DESTDIR/mysql-test/std_data \ $DESTDIR/mysql-test/r $DESTDIR/mysql-test/std_data \
$DESTDIR/mysql-test/t $DESTDIR/mysql-test/t $DESTDIR/mysql-test/suite
cp mysql-test/mysql-test-run.pl $DESTDIR/mysql-test/ cp mysql-test/mysql-test-run.pl $DESTDIR/mysql-test/
cp mysql-test/README $DESTDIR/mysql-test/ cp mysql-test/README $DESTDIR/mysql-test/
cp mysql-test/install_test_db.sh $DESTDIR/mysql-test/install_test_db cp mysql-test/install_test_db.sh $DESTDIR/mysql-test/install_test_db
...@@ -324,7 +324,7 @@ cp mysql-test/std_data/*.pem $DESTDIR/mysql-test/std_data/ ...@@ -324,7 +324,7 @@ cp mysql-test/std_data/*.pem $DESTDIR/mysql-test/std_data/
cp mysql-test/std_data/*.MY* $DESTDIR/mysql-test/std_data/ cp mysql-test/std_data/*.MY* $DESTDIR/mysql-test/std_data/
cp mysql-test/t/*.opt $DESTDIR/mysql-test/t/ cp mysql-test/t/*.opt $DESTDIR/mysql-test/t/
cp mysql-test/t/*.sh $DESTDIR/mysql-test/t/ cp mysql-test/t/*.sh $DESTDIR/mysql-test/t/
cp mysql-test/t/*.slave-mi $DESTDIR/mysql-test/t/ cp mysql-test/t/*.slave-mi $DESTDIR/mysql-test/t/ || /bin/true
cp mysql-test/t/*.sql $DESTDIR/mysql-test/t/ cp mysql-test/t/*.sql $DESTDIR/mysql-test/t/
cp mysql-test/t/*.def $DESTDIR/mysql-test/t/ cp mysql-test/t/*.def $DESTDIR/mysql-test/t/
(cd mysql-test/t/ && cp *.test $ABS_DST/mysql-test/t/) (cd mysql-test/t/ && cp *.test $ABS_DST/mysql-test/t/)
...@@ -335,6 +335,12 @@ if [ -d mysql-test/extra ] ; then ...@@ -335,6 +335,12 @@ if [ -d mysql-test/extra ] ; then
cp -pR mysql-test/extra/* $DESTDIR/mysql-test/extra/ cp -pR mysql-test/extra/* $DESTDIR/mysql-test/extra/
fi fi
# Copy all directories in mysql-test/suite/
for i in `cd mysql-test/suite && ls`; do \
mkdir -p $DESTDIR/mysql-test/suite/$i; \
cp -R mysql-test/suite/$i $DESTDIR/mysql-test/suite/; \
done
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Copy what could be usable in the "scripts" directory. Currently # Copy what could be usable in the "scripts" directory. Currently
# only SQL files, others are Bourne shell scripts or Perl scripts # only SQL files, others are Bourne shell scripts or Perl scripts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment