libstorage / libstoragemgmt

A library for storage management
https://libstorage.github.io/libstoragemgmt-doc/
GNU Lesser General Public License v2.1
83 stars 32 forks source link

Update configure.ac and which plugins run during tests #468

Closed tasleson closed 3 years ago

tasleson commented 3 years ago

If you run configure ./configure --without-smispythe expectation is that whatever specific requirements for that plugin do not need to be installed, but in this case we still require pywbem as the check is not enclosed in any kind of conditional. Furthermore, if you comment out that requirement and build the library when you run make check it will fail as it will try to include the smispy plugin into the test directory. The only thing that gets exercised in that case is the ability to execute the plugin and retrieve it's version information, which fails because pywbem isn't available.

Needed changes

This was found by trying to build on debian which appears to have removed support for pywbem.