3520 Mauritz Sundell 2012-12-14
ndb - use compile-cluster for autotest
modified:
storage/ndb/test/run-test/autotest-boot.sh
storage/ndb/test/run-test/upgrade-boot.sh
3519 Pekka Nousiainen 2012-12-03
bug#14702377 b05_upg.diff
setNdbError in HugoTransactions, more
modified:
storage/ndb/test/src/HugoTransactions.cpp
=== modified file 'storage/ndb/test/run-test/autotest-boot.sh'
--- a/storage/ndb/test/run-test/autotest-boot.sh 2011-06-30 15:55:35 +0000
+++ b/storage/ndb/test/run-test/autotest-boot.sh 2012-12-14 13:53:12 +0000
@@ -225,21 +225,31 @@ fi
# create the database to be rsynced #
##########################################
+function build_cluster()
+{
+ if grep -qc autotest storage/ndb/compile-cluster 2>/dev/null
+ then
+ storage/ndb/compile-cluster --autotest $*
+ else
+ BUILD/compile-ndb-autotest $*
+ fi
+}
+
if [ "$build" ]
then
rm -rf $install_dir
if [ -z "$clone1" ]
then
cd $dst_place0
- BUILD/compile-ndb-autotest --prefix=$install_dir0
+ build_cluster --prefix=$install_dir0
make install
else
cd $dst_place0
- BUILD/compile-ndb-autotest --prefix=$install_dir0
+ build_cluster --prefix=$install_dir0
make install
cd $dst_place1
- BUILD/compile-ndb-autotest --prefix=$install_dir1
+ build_cluster --prefix=$install_dir1
make install
fi
fi
=== modified file 'storage/ndb/test/run-test/upgrade-boot.sh'
--- a/storage/ndb/test/run-test/upgrade-boot.sh 2011-06-30 15:55:35 +0000
+++ b/storage/ndb/test/run-test/upgrade-boot.sh 2012-12-14 13:53:12 +0000
@@ -204,19 +204,30 @@ fi
# Build the source, make installs, and #
# create the database to be rsynced #
##########################################
+function build_cluster()
+{
+ if [ -x storage/ndb/compile-cluster ]
+ then
+ storage/ndb/compile-cluster --autotest $*
+ else
+ BUILD/compile-ndb-autotest $*
+ fi
+}
+
install_dir0=$install_dir/$tag0
install_dir1=$install_dir/$tag1
if [ "$build" ]
then
cd $dst_place0
rm -rf $install_dir0
- BUILD/compile-ndb-autotest --prefix=$install_dir0
+ build_cluster --prefix=$install_dir0
make install
cd $dst_place1
rm -rf $install_dir1
- BUILD/compile-ndb-autotest --prefix=$install_dir1
+ build_cluster --prefix=$install_dir1
make install
+ fi
fi
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-5.1-telco-6.3 branch (mauritz.sundell:3519 to 3520) | Mauritz Sundell | 17 Dec |