From: David Wells Date: Tue, 28 Mar 2017 21:03:55 +0000 (-0400) Subject: Remove tests.h dependency from the quick tests. X-Git-Tag: v9.0.0-rc1~1771^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d7e48d90d7c3ed9388a34dccbfa8856ba4d07ea;p=dealii.git Remove tests.h dependency from the quick tests. The release candidates ship without this file. --- 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)