HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

TESTS: assert that is indeed the install target that is found #84

Closed HenrikBengtsson closed 9 months ago

HenrikBengtsson commented 1 year ago

Add assertion that it is the install target that is found:

@test "can execute install target, if binary" {
    if [[ -x "${INSTALL_TARGET}" ]]; then
       module load "${MODULE_REPO}" "${MODULE_NAME}/${MODULE_VERSION}"
       command -v "$(basename "${INSTALL_TARGET}")"
    fi
}