BEAT_CORE_TEST_DIR=$(python -c'import beat.core.test as f; import os; print(os.path.abspath(os.path.dirname(f.__file__)))')
fi
check_env BEAT_CORE_TEST_DIR
# Compilation of the algorithms in the list above
if["$1"=="build"];then
for k in"${ALGORITHMS[@]}";do
algodir=$(dirname"${k}")
run_cmd docker run --rm--user=$(id-u):$(id-g)--volume="${BEAT_CORE_TEST_DIR}/scripts/build.sh:/build.sh"--volume="${BEAT_CORE_TEST_DIR}/${algodir}:/sources"--workdir="/sources"--entrypoint="bash""${BEAT_CXX_DEV_ENVIRONMENT}" /build.sh