From: young Date: Tue, 22 Oct 2013 10:29:04 +0000 (+0000) Subject: Make all peetsc_complex tests compatible with ctest. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=608ccae55ff83ebc5dd506d71d12eb0227da5460;p=dealii-svn.git Make all peetsc_complex tests compatible with ctest. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31383 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/petsc_complex/00.cc b/tests/petsc_complex/00.cc index 26253d5c85..aa445fd055 100644 --- a/tests/petsc_complex/00.cc +++ b/tests/petsc_complex/00.cc @@ -163,7 +163,7 @@ void init_petsc_complex () int main (int argc, char **argv) { - std::ofstream logfile ("00/output"); + std::ofstream logfile ("output"); dealii::deallog.attach (logfile); dealii::deallog.depth_console (0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/01.cc b/tests/petsc_complex/01.cc index d52f45fe0b..f676244b54 100644 --- a/tests/petsc_complex/01.cc +++ b/tests/petsc_complex/01.cc @@ -85,7 +85,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("01/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/02.cc b/tests/petsc_complex/02.cc index 064e47b347..74b941f3c8 100644 --- a/tests/petsc_complex/02.cc +++ b/tests/petsc_complex/02.cc @@ -88,7 +88,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("02/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/04.cc b/tests/petsc_complex/04.cc index 56a8d3553b..60a1d76b01 100644 --- a/tests/petsc_complex/04.cc +++ b/tests/petsc_complex/04.cc @@ -35,7 +35,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("04/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/05.cc b/tests/petsc_complex/05.cc index 5c64b6a961..3b5fa6e40e 100644 --- a/tests/petsc_complex/05.cc +++ b/tests/petsc_complex/05.cc @@ -76,7 +76,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("05/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/06.cc b/tests/petsc_complex/06.cc index cef7c22366..1b7b7fb4a8 100644 --- a/tests/petsc_complex/06.cc +++ b/tests/petsc_complex/06.cc @@ -67,7 +67,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("06/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/07.cc b/tests/petsc_complex/07.cc index 68574f6d46..8540fcad16 100644 --- a/tests/petsc_complex/07.cc +++ b/tests/petsc_complex/07.cc @@ -64,7 +64,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("07/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/08.cc b/tests/petsc_complex/08.cc index 8c2206cd7c..04c5937679 100644 --- a/tests/petsc_complex/08.cc +++ b/tests/petsc_complex/08.cc @@ -77,7 +77,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("08/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/09.cc b/tests/petsc_complex/09.cc index 72a9ec62a5..987e5db36a 100644 --- a/tests/petsc_complex/09.cc +++ b/tests/petsc_complex/09.cc @@ -100,7 +100,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("09/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/10.cc b/tests/petsc_complex/10.cc index 63aab12a95..b07b4204cf 100644 --- a/tests/petsc_complex/10.cc +++ b/tests/petsc_complex/10.cc @@ -92,7 +92,7 @@ void test_complex (PETScWrappers::SparseMatrix &m) int main (int argc,char **argv) { - std::ofstream logfile("10/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/11.cc b/tests/petsc_complex/11.cc index 297f55b2e5..af6b6b7ac3 100644 --- a/tests/petsc_complex/11.cc +++ b/tests/petsc_complex/11.cc @@ -58,7 +58,7 @@ void test_complex (PETScWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("11/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/12.cc b/tests/petsc_complex/12.cc index bac771e974..5a587bb3c0 100644 --- a/tests/petsc_complex/12.cc +++ b/tests/petsc_complex/12.cc @@ -90,7 +90,7 @@ void test_complex (PETScWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("12/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/13.cc b/tests/petsc_complex/13.cc index d9c7ff0236..7d088917b3 100644 --- a/tests/petsc_complex/13.cc +++ b/tests/petsc_complex/13.cc @@ -52,7 +52,7 @@ void test (PETScWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("13/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/17.cc b/tests/petsc_complex/17.cc index 8625638b20..6965da84f8 100644 --- a/tests/petsc_complex/17.cc +++ b/tests/petsc_complex/17.cc @@ -46,7 +46,7 @@ void test (PETScWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("17/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/18.cc b/tests/petsc_complex/18.cc index aa67b3e190..fbd4908dcd 100644 --- a/tests/petsc_complex/18.cc +++ b/tests/petsc_complex/18.cc @@ -51,7 +51,7 @@ void test (PETScWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("18/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/19.cc b/tests/petsc_complex/19.cc index de1c69bb4d..ab6f56f8a2 100644 --- a/tests/petsc_complex/19.cc +++ b/tests/petsc_complex/19.cc @@ -47,7 +47,7 @@ void test (PETScWrappers::Vector &v) int main (int argc,char **argv) { - std::ofstream logfile("19/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/element_access_00.cc b/tests/petsc_complex/element_access_00.cc index e701637d4c..48debe7129 100644 --- a/tests/petsc_complex/element_access_00.cc +++ b/tests/petsc_complex/element_access_00.cc @@ -60,7 +60,7 @@ void test_vector (PETScWrappers::Vector &v) int main (int argc, char **argv) { - std::ofstream logfile ("element_access_00/output"); + std::ofstream logfile ("output"); dealii::deallog.attach (logfile); dealii::deallog.depth_console (0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/element_access_01.cc b/tests/petsc_complex/element_access_01.cc index a293cf3c79..8d77e723f2 100644 --- a/tests/petsc_complex/element_access_01.cc +++ b/tests/petsc_complex/element_access_01.cc @@ -59,7 +59,7 @@ void test_matrix (PETScWrappers::SparseMatrix &m) int main (int argc, char **argv) { - std::ofstream logfile ("element_access_01/output"); + std::ofstream logfile ("output"); dealii::deallog.attach (logfile); dealii::deallog.depth_console (0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/element_access_02.cc b/tests/petsc_complex/element_access_02.cc index 89e1210aff..7778ab3401 100644 --- a/tests/petsc_complex/element_access_02.cc +++ b/tests/petsc_complex/element_access_02.cc @@ -48,7 +48,7 @@ void test (PETScWrappers::SparseMatrix &m) int main (int argc, char **argv) { - std::ofstream logfile ("element_access_02/output"); + std::ofstream logfile ("output"); dealii::deallog.attach (logfile); dealii::deallog.depth_console (0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/element_access_03.cc b/tests/petsc_complex/element_access_03.cc index fbed258e9c..b8b99748d9 100644 --- a/tests/petsc_complex/element_access_03.cc +++ b/tests/petsc_complex/element_access_03.cc @@ -68,7 +68,7 @@ void test_matrix (PETScWrappers::SparseMatrix &m) int main (int argc, char **argv) { - std::ofstream logfile ("element_access_03/output"); + std::ofstream logfile ("output"); dealii::deallog.attach (logfile); dealii::deallog.depth_console (0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/solver_real_01.cc b/tests/petsc_complex/solver_real_01.cc index d794ff3da5..ec39333c03 100644 --- a/tests/petsc_complex/solver_real_01.cc +++ b/tests/petsc_complex/solver_real_01.cc @@ -62,7 +62,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("solver_real_01/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog << std::setprecision(4); deallog.depth_console(0); diff --git a/tests/petsc_complex/solver_real_02.cc b/tests/petsc_complex/solver_real_02.cc index fce802f013..9c3bc11c1b 100644 --- a/tests/petsc_complex/solver_real_02.cc +++ b/tests/petsc_complex/solver_real_02.cc @@ -60,7 +60,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("solver_real_02/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog << std::setprecision(4); deallog.depth_console(0); diff --git a/tests/petsc_complex/solver_real_03.cc b/tests/petsc_complex/solver_real_03.cc index 8a7e3b0bad..392f127fee 100644 --- a/tests/petsc_complex/solver_real_03.cc +++ b/tests/petsc_complex/solver_real_03.cc @@ -59,7 +59,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("solver_real_03/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog << std::setprecision(4); deallog.depth_console(0); diff --git a/tests/petsc_complex/solver_real_03_mf.cc b/tests/petsc_complex/solver_real_03_mf.cc index c4979a16c7..b81fac55d3 100644 --- a/tests/petsc_complex/solver_real_03_mf.cc +++ b/tests/petsc_complex/solver_real_03_mf.cc @@ -68,7 +68,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("solver_real_03_mf/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog << std::setprecision(4); deallog.depth_console(0); diff --git a/tests/petsc_complex/solver_real_04.cc b/tests/petsc_complex/solver_real_04.cc index 470697b053..5caa9918dc 100644 --- a/tests/petsc_complex/solver_real_04.cc +++ b/tests/petsc_complex/solver_real_04.cc @@ -59,7 +59,7 @@ check_solve( SOLVER &solver, const MATRIX &A, int main(int argc, char **argv) { - std::ofstream logfile("solver_real_04/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog << std::setprecision(4); deallog.depth_console(0); diff --git a/tests/petsc_complex/sparse_matrix_01.cc b/tests/petsc_complex/sparse_matrix_01.cc index ed35aa432a..82a1e4b41d 100644 --- a/tests/petsc_complex/sparse_matrix_01.cc +++ b/tests/petsc_complex/sparse_matrix_01.cc @@ -72,7 +72,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("sparse_matrix_01/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/sparse_matrix_02.cc b/tests/petsc_complex/sparse_matrix_02.cc index 1efa9745cc..b5e2ce2f14 100644 --- a/tests/petsc_complex/sparse_matrix_02.cc +++ b/tests/petsc_complex/sparse_matrix_02.cc @@ -81,7 +81,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("sparse_matrix_02/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_02.cc b/tests/petsc_complex/vector_02.cc index 474a58f5b2..5379a622e5 100644 --- a/tests/petsc_complex/vector_02.cc +++ b/tests/petsc_complex/vector_02.cc @@ -74,7 +74,7 @@ void test () int main (int argc, char **argv) { - std::ofstream logfile("vector_02/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_assign_01.cc b/tests/petsc_complex/vector_assign_01.cc index be73daa364..20712f3364 100644 --- a/tests/petsc_complex/vector_assign_01.cc +++ b/tests/petsc_complex/vector_assign_01.cc @@ -51,7 +51,7 @@ void test (PETScWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("vector_assign_01/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_assign_02.cc b/tests/petsc_complex/vector_assign_02.cc index cc8205089b..56ad6d8ad0 100644 --- a/tests/petsc_complex/vector_assign_02.cc +++ b/tests/petsc_complex/vector_assign_02.cc @@ -68,7 +68,7 @@ void test_complex (PETScWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile ("vector_assign_02/output"); + std::ofstream logfile ("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_equality_1.cc b/tests/petsc_complex/vector_equality_1.cc index 8e9b5c812a..41045171f8 100644 --- a/tests/petsc_complex/vector_equality_1.cc +++ b/tests/petsc_complex/vector_equality_1.cc @@ -66,7 +66,7 @@ void test_complex (PETScWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("vector_equality_1/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_equality_2.cc b/tests/petsc_complex/vector_equality_2.cc index 908100ae07..4d8f2d0b99 100644 --- a/tests/petsc_complex/vector_equality_2.cc +++ b/tests/petsc_complex/vector_equality_2.cc @@ -67,7 +67,7 @@ void test_complex (PETScWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("vector_equality_2/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_equality_5.cc b/tests/petsc_complex/vector_equality_5.cc index 6d95254c6c..2c88628f87 100644 --- a/tests/petsc_complex/vector_equality_5.cc +++ b/tests/petsc_complex/vector_equality_5.cc @@ -63,7 +63,7 @@ void test_complex (PETScWrappers::Vector &v) int main (int argc, char **argv) { - std::ofstream logfile("vector_equality_5/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_print.cc b/tests/petsc_complex/vector_print.cc index a2d793b474..be22c05450 100644 --- a/tests/petsc_complex/vector_print.cc +++ b/tests/petsc_complex/vector_print.cc @@ -28,7 +28,7 @@ int main (int argc, char **argv) { - std::ofstream logfile("vector_print/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc_complex/vector_wrap_01.cc b/tests/petsc_complex/vector_wrap_01.cc index 409e8db749..91156f9372 100644 --- a/tests/petsc_complex/vector_wrap_01.cc +++ b/tests/petsc_complex/vector_wrap_01.cc @@ -64,7 +64,7 @@ void test_02 (PETScWrappers::Vector &v, int main (int argc, char **argv) { - std::ofstream logfile("vector_wrap_01/output"); + std::ofstream logfile("output"); deallog.attach(logfile); deallog.depth_console(0); deallog.threshold_double(1.e-10);