Skip to content

Commit 40b53b1

Browse files
author
Shlomi Noach
committed
extracting build
1 parent 29b4f93 commit 40b53b1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

script/cibuild-gh-ost-replica-tests

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ test_mysql_version() {
1010
local mysql_version
1111
mysql_version="$1"
1212

13+
echo "# Testing $mysql_version"
14+
1315
find sandboxes -name "stop_all" | bash
1416

1517
mkdir -p sandbox/binary
@@ -30,13 +32,13 @@ test_mysql_version() {
3032

3133
gh-ost-test-mysql-master -uroot -e "grant all on *.* to 'gh-ost'@'%' identified by 'gh-ost'"
3234

33-
echo "# Testing $mysql_version"
34-
. script/build
3535
./localtests/test.sh -b bin/gh-ost
3636

3737
find sandboxes -name "stop_all" | bash
3838
}
3939

40+
echo "Building..."
41+
. script/build
4042
# Test all versions:
4143
find gh-ost-ci-env/mysql-tarballs/ -name "*.tar.gz" | while read f ; do basename $f ".tar.gz" ; done | sort -r | while read mysql_version ; do
4244
test_mysql_version "$mysql_version"

0 commit comments

Comments
 (0)