2.1 fix restore (#151)

* refactor test backend fixing

* return comatibility with 5.5 for backend restore

* remove backend configuration scripts
This commit is contained in:
Timofey Turenko
2017-12-18 23:47:02 +02:00
committed by GitHub
parent ba24330d0f
commit 1a63e5ec7e
11 changed files with 449 additions and 173 deletions

View File

@ -58,17 +58,15 @@ export name=`echo $name | sed "s/?//g"`
. ${script_dir}/configure_log_dir.sh
cd ${script_dir}/..
cmake . -DBUILDNAME=$name -DCMAKE_BUILD_TYPE=Debug
make
${script_dir}/create_config.sh
res=$?
if [ $res == 0 ] ; then
. ${script_dir}/configure_backend.sh
${mdbci_dir}/mdbci snapshot take --path-to-nodes $name --snapshot-name clean
# . ${script_dir}/configure_backend.sh
. ${script_dir}/set_env.sh $name
cd ${script_dir}/..
cmake . -DBUILDNAME=$name -DCMAKE_BUILD_TYPE=Debug
make
if [ ! -z "${named_test}" ] ; then
./${named_test}
@ -82,6 +80,7 @@ if [ $res == 0 ] ; then
rm ~/vagrant_lock
exit 1
fi
${mdbci_dir}/mdbci snapshot take --path-to-nodes $name --snapshot-name clean
ctest -VV -D Nightly ${test_set}
fi