Summary:
We had to go back and update the g++ path for 4.4.fb-4.8.fb. So the
path is now fixed on the branches, but can't be fixed on the tags since they're
immutable. By making format compatibility tests use branch names (when
available), backported fixes like this will be used without having to re-release.
Also removed v1.5.7 and v2.1 because make fails.
Test Plan:
$ build_tools/rocksdb-lego-determinator run_format_compatible
Reviewers: sdong, lightmark, IslamAbdelRahman
Reviewed By: IslamAbdelRahman
Subscribers: andrewkr, dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D59355
# `checkout` can be a tag, commit or branch name. Will build using it and check DBs generated by all previous tags can be opened by it.
# `checkout` can be a tag, commit or branch name. Will build using it and check DBs generated by all previous branches (or tags for very old versions without branch) can be opened by it.
# Return value 0 means all regression tests pass. 1 if not pass.
scriptpath=`dirname $BASH_SOURCE`
@ -41,10 +41,8 @@ with open('${input_data[$i]}', 'w') as f:
EOF
done
# v2.1 or older doesn't pass the debug build but OK with release build
declare -a need_release_tags=("v1.5.7""v2.1")
declare -a tags=("v2.5""v2.4""v2.3""v2.2""v2.8""v3.0""v3.1""v3.2""v3.3""v3.4""rocksdb-3.5.1""rocksdb-3.6.2""rocksdb-3.7""rocksdb-3.8""rocksdb-3.9""v3.10""v3.11""v3.12.1""v3.13.1""v4.0""v4.1""v4.2""v4.3""v4.3.1""v4.4")
declare -a forward_compatible_tags=("v3.10""v3.11""v3.12.1""v3.13.1""v4.0""v4.1""v4.2""v4.3.1""v4.4")
declare -a checkout_objs=("v2.2""v2.3""v2.4""v2.5""2.8.fb""3.0.fb""3.1.fb""3.2.fb""3.3.fb""3.4.fb""3.5.fb""3.6.fb""3.7.fb""3.8.fb""3.9.fb""3.10.fb""3.11.fb""3.12.fb""3.13.fb""4.0.fb""4.1.fb""4.2.fb""4.3.fb""4.4.fb""4.5.fb""4.6.fb""4.7.fb""4.8.fb")
declare -a forward_compatible_checkout_objs=("3.10.fb""3.11.fb""3.12.fb""3.13.fb""4.0.fb""4.1.fb""4.2.fb""4.3.fb""4.4.fb")