From: guido Date: Fri, 27 Aug 2004 07:52:53 +0000 (+0000) Subject: make tests compilable without UMFPACK; think about output! X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a99d658e65c83878a8d7e7080b9339348d47773;p=dealii-svn.git make tests compilable without UMFPACK; think about output! git-svn-id: https://svn.dealii.org/trunk@9589 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/umfpack_01.cc b/tests/bits/umfpack_01.cc index 5c5aba1f94..4291dce5b5 100644 --- a/tests/bits/umfpack_01.cc +++ b/tests/bits/umfpack_01.cc @@ -38,6 +38,7 @@ #include +#ifdef HAVE_UMFPACK template void test () @@ -101,6 +102,14 @@ void test () } } +#else + +template +void test() +{} + +#endif + int main () { diff --git a/tests/bits/umfpack_02.cc b/tests/bits/umfpack_02.cc index f591be902c..a7a1b5535c 100644 --- a/tests/bits/umfpack_02.cc +++ b/tests/bits/umfpack_02.cc @@ -40,6 +40,7 @@ #include +#ifdef HAVE_UMFPACK template void test () @@ -107,6 +108,14 @@ void test () } } +#else + +template +void test() +{} + +#endif + int main () { diff --git a/tests/bits/umfpack_03.cc b/tests/bits/umfpack_03.cc index 5e8b229262..2dd93bfadc 100644 --- a/tests/bits/umfpack_03.cc +++ b/tests/bits/umfpack_03.cc @@ -38,6 +38,7 @@ #include +#ifdef HAVE_UMFPACK template void test () @@ -118,6 +119,13 @@ void test () } } +#else + +template +void test() +{} + +#endif int main () {