Skip to content

[th/run-nm-test-libtool] tests: improve detection of libtool in ""

Thomas Haller requested to merge th/run-nm-test-libtool into main

The user can set "$NMTST_LIBTOOL" to empty or the path to libtool.

If unset, we want to detect it. However, previously we would always use "$SCRIPT_PATH/../libtool", even if that file doesn't exit. Improve that.

For example, when running on Ubuntu with the ".gitlab-ci/" script, we don't have libtool. Entering such a container and running the "" script will fail "$SCRIPT_PATH/../libtool" doesn't exit.

Merge request reports