Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Удаляем либу
- rm -rf ipl_adlib-agile/src_c/_*
- rm -rf ipl_adlib-agile/src_cpp/_*
- # Устанавливаем переменные окружения
- source ipl_adlib-agile/tools_env/linux/gnu710.sh
- for unit in `dir ipl_adlib-agile/qa/adl_ts/configs/cpp_interface/common/`
- do
- # Если не задан последний юнит - задаем
- if [ -z "$LAST_UNIT" ]; then
- LAST_UNIT="$unit"
- else
- # Если этот юнит уже обрабатывался
- if [ "$unit" != "$LAST_UNIT" ]; then
- continue;
- fi
- fi
- echo "Запускаем юнит $unit"
- read -n 1 ans
- # Удаляем тесты
- rm -rf ipl_adlib-agile/qa/adl_ts/_*
- if [ $? -ne 0 ]; then echo "Error: Return code was not zero but $?"; exit 1; fi
- # Собираем либу
- cd ipl_adlib-agile/src_cpp
- ./build_lib.sh -o linux -c gnu710
- if [ $? -ne 0 ]; then echo "Error: Return code was not zero but $?"; exit 1; fi
- cd ../qa/adl_ts
- source ../../src_cpp/_build/_build_linux_intel64_gnu710_release/adlibcpp_linux_intel64_gnu710_release/adlibcpp_linux_intel64_gnu710_release/bin/adl_cpp_vars.sh
- if [ $? -ne 0 ]; then echo "Error: Return code was not zero but $?"; exit 1; fi
- # Собираем тесты
- ./build_tests.sh -o linux -c gnu710 --interface cpp --domain common --unit "$unit"
- if [ $? -ne 0 ]; then echo "Error: Return code was not zero but $?"; exit 1; fi
- # Выполняем тесты
- ./run_custom_tests.sh -c gnu710 --interface cpp --domain common --unit "$unit"
- cd /numerics/adl/akovalkx
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement