summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormsvensson@pilot.(none) <>2007-06-29 14:43:54 +0200
committermsvensson@pilot.(none) <>2007-06-29 14:43:54 +0200
commitef80d45d0d11ad82dfc07d976878e9da624b02a2 (patch)
tree1ec7319e8669e257e53236c452a5951a8f956349 /scripts
parentdb84337b37b7cc5ebf0e93147d30058628e5d217 (diff)
downloadmariadb-git-ef80d45d0d11ad82dfc07d976878e9da624b02a2.tar.gz
Update make_win_bin_dist to also copy mysql-test/suite directory
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make_win_bin_dist10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/make_win_bin_dist b/scripts/make_win_bin_dist
index 6593e2c6039..480ea39b2cf 100755
--- a/scripts/make_win_bin_dist
+++ b/scripts/make_win_bin_dist
@@ -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 \
$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/README $DESTDIR/mysql-test/
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/
cp mysql-test/std_data/*.MY* $DESTDIR/mysql-test/std_data/
cp mysql-test/t/*.opt $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/*.def $DESTDIR/mysql-test/t/
(cd mysql-test/t/ && cp *.test $ABS_DST/mysql-test/t/)
@@ -335,6 +335,12 @@ if [ -d mysql-test/extra ] ; then
cp -pR mysql-test/extra/* $DESTDIR/mysql-test/extra/
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
# only SQL files, others are Bourne shell scripts or Perl scripts