Show ldd output also for statically linked binaries

This commit is contained in:
Matthias Krack 2026-02-13 17:12:42 +01:00
parent 3d9e421291
commit 04652bb80a

View file

@ -1064,7 +1064,7 @@ chmod 750 "${LAUNCH_SCRIPT}"
# Create shortcut for launching the regression tests
cat << *** > "${INSTALL_PREFIX}"/bin/run_tests
ldd -- ${INSTALL_PREFIX}/bin/cp2k.${VERSION} 2>&1 | grep -E '\s=>\snot found' | sort | uniq
ldd -- ${INSTALL_PREFIX}/bin/cp2k.${VERSION} 2>&1 | grep -E 'not ' | sort | uniq
${CP2K_ROOT}/tests/do_regtest.py ${TESTOPTS} \$* ${INSTALL_PREFIX}/bin ${VERSION}
***
chmod 750 "${INSTALL_PREFIX}"/bin/run_tests