From: David Wells Date: Tue, 24 May 2022 17:44:16 +0000 (-0400) Subject: Mark some tests as depending on LAPACK. X-Git-Tag: v9.4.0-rc1~131^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=042fd77873bd5d7445830ff7d5e1adc9d86c4beb;p=dealii.git Mark some tests as depending on LAPACK. While we're at it - throw an exception if we don't have LAPACK in the class that uses it. --- diff --git a/source/non_matching/mesh_classifier.cc b/source/non_matching/mesh_classifier.cc index 0566abe4ac..d88a69e35a 100644 --- a/source/non_matching/mesh_classifier.cc +++ b/source/non_matching/mesh_classifier.cc @@ -321,6 +321,7 @@ namespace NonMatching dof_handler, level_set)) { +#ifdef DEAL_II_WITH_LAPACK const hp::FECollection &fe_collection = dof_handler.get_fe_collection(); for (unsigned int i = 0; i < fe_collection.size(); i++) @@ -333,6 +334,9 @@ namespace NonMatching "The elements in the FECollection of the incoming DoFHandler " "must have face support points.")); } +#else + AssertThrow(false, ExcNeedsLAPACK()); +#endif } diff --git a/tests/non_matching/fe_interface_values.output b/tests/non_matching/fe_interface_values.with_lapack=on.output similarity index 100% rename from tests/non_matching/fe_interface_values.output rename to tests/non_matching/fe_interface_values.with_lapack=on.output diff --git a/tests/non_matching/fe_interface_values_non_standard_meshes.output b/tests/non_matching/fe_interface_values_non_standard_meshes.with_lapack=on.output similarity index 100% rename from tests/non_matching/fe_interface_values_non_standard_meshes.output rename to tests/non_matching/fe_interface_values_non_standard_meshes.with_lapack=on.output diff --git a/tests/non_matching/fe_values.output b/tests/non_matching/fe_values.with_lapack=on.output similarity index 100% rename from tests/non_matching/fe_values.output rename to tests/non_matching/fe_values.with_lapack=on.output diff --git a/tests/non_matching/mesh_classifier.output b/tests/non_matching/mesh_classifier.with_lapack=on.output similarity index 100% rename from tests/non_matching/mesh_classifier.output rename to tests/non_matching/mesh_classifier.with_lapack=on.output