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

ROBUSTNESS: Assert that all paths set exist #95

Closed HenrikBengtsson closed 1 year ago

HenrikBengtsson commented 1 year ago

To prevent mistakes such as #94 from happening, assert that all PATH, LD_LIBRARY_PATH, MANPATH etc. have existing folders.

This can be done:

  1. by make check

  2. at run-time when the module is loaded

HenrikBengtsson commented 1 year ago

The easiest is to do it during checks. Then one can set up a generic test used by all modules.

HenrikBengtsson commented 1 year ago

Implemented path validation via make check.