Solverfactorytest not properly guareded / fails when missing SuperLU or SuiteSparse
solverfactorytest
uses many linear solvers in solverfactorytest.ini
, including SuperLU, UMFPack, and other direct solvers from SuiteSparse. If one of these third-party libraries are missing, running the test fails. We should add some guards to prevent these tests from running.
I see three options:
a) Add guards for Superlu, UMFPack, and other SuiteSparse libraries to solverfactorytest. Downside is, that the test will not be executed, if only a single library is missing.
b) Split solverfactorytest.ini
in two files and run the tests twice, once for the iterative solvers and once with the direct solvers. The latter test is guarded and is not run if a single library is missing.
c) Split solverfactorytest.ini
into multiple files, one for the iterative solvers and one for each direct solver - and a guard for the only direct solver library used by the test. Downside is, that it adds a lot of tests.
I'd prefer b). What do you think?