From 17cd810c237f1fed510af195623a34e1cc842e1e Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 28 Mar 2017 17:03:55 -0400 Subject: [PATCH] Remove tests.h dependency from the quick tests. The release candidates ship without this file. --- tests/quick_tests/arpack.cc | 13 +++++++------ tests/quick_tests/gsl.cc | 11 ++++++++--- tests/quick_tests/lapack.cc | 2 +- tests/quick_tests/umfpack.cc | 5 +++-- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/tests/quick_tests/arpack.cc b/tests/quick_tests/arpack.cc index 4eda317b6b..4232cb363b 100644 --- a/tests/quick_tests/arpack.cc +++ b/tests/quick_tests/arpack.cc @@ -16,13 +16,9 @@ // test Arpack by calculating eigenvalues of Laplace matrix. -#include "../tests.h" -#include -#include -#include - -#include #include +#include +#include #include #include @@ -43,7 +39,12 @@ #include #include +#include +#include +#include +#include +using namespace dealii; template void test () diff --git a/tests/quick_tests/gsl.cc b/tests/quick_tests/gsl.cc index a9d8e19c9f..5fcbf59379 100644 --- a/tests/quick_tests/gsl.cc +++ b/tests/quick_tests/gsl.cc @@ -17,9 +17,15 @@ // Test GSL by running CSpline. Copy-paste of /base/functions_cspline // take example from https://www.gnu.org/software/gsl/manual/html_node/Interpolation-Example-programs.html -#include "../tests.h" -#include #include +#include + +#include +#include +#include +#include + +using namespace dealii; template void check() @@ -52,4 +58,3 @@ int main() check<1>(); } - diff --git a/tests/quick_tests/lapack.cc b/tests/quick_tests/lapack.cc index 704a9e5fe3..11fe46d9b8 100644 --- a/tests/quick_tests/lapack.cc +++ b/tests/quick_tests/lapack.cc @@ -17,7 +17,6 @@ // Tests vector multiplication and eigenvalues of LAPACKFullMatrix // copy-paste of lapack/full_matrix_01 -#include "../tests.h" #include #include #include @@ -48,6 +47,7 @@ const double rect[] = 11., 13., -4., -5 }; +using namespace dealii; void test_rect(unsigned int m, unsigned int n, const double *values) { diff --git a/tests/quick_tests/umfpack.cc b/tests/quick_tests/umfpack.cc index 3ba1112943..5ff2df38a6 100644 --- a/tests/quick_tests/umfpack.cc +++ b/tests/quick_tests/umfpack.cc @@ -18,13 +18,13 @@ // test the umfpack sparse direct solver on a mass matrix. // test of the transpose as well -#include "../tests.h" #include #include #include -#include #include +#include +#include #include #include @@ -42,6 +42,7 @@ #include #include +using namespace dealii; template void test (bool transpose = false) -- 2.39.5