From 0a99d658e65c83878a8d7e7080b9339348d47773 Mon Sep 17 00:00:00 2001 From: guido Date: Fri, 27 Aug 2004 07:52:53 +0000 Subject: [PATCH] make tests compilable without UMFPACK; think about output! git-svn-id: https://svn.dealii.org/trunk@9589 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/umfpack_01.cc | 9 +++++++++ tests/bits/umfpack_02.cc | 9 +++++++++ tests/bits/umfpack_03.cc | 8 ++++++++ 3 files changed, 26 insertions(+) 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 () { -- 2.39.5