From cf120bae3ae4b0cf499dd3d3861af1acf8f302a8 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 8 Nov 2010 16:20:36 +0000 Subject: [PATCH] remove unused directory git-svn-id: https://svn.dealii.org/trunk@22635 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/test/Makefile | 46 ------------------------------- tests/test/README | 21 -------------- tests/test/no_compile_01.cc | 19 ------------- tests/test/no_compile_02.cc | 21 -------------- tests/test/no_diff_01.cc | 24 ---------------- tests/test/no_diff_01/cmp/generic | 1 - tests/test/no_diff_02.cc | 22 --------------- tests/test/no_diff_02/cmp/generic | 1 - tests/test/no_diff_03.cc | 24 ---------------- tests/test/no_diff_03/cmp/generic | 1 - tests/test/no_diff_04.cc | 26 ----------------- tests/test/no_diff_04/cmp/generic | 1 - tests/test/no_link_01.cc | 21 -------------- tests/test/no_link_02.cc | 23 ---------------- tests/test/no_run_01.cc | 22 --------------- tests/test/no_run_02.cc | 24 ---------------- tests/test/no_run_03.cc | 26 ----------------- tests/test/no_run_03/cmp/generic | 1 - tests/test/no_run_04.cc | 28 ------------------- tests/test/no_run_04/cmp/generic | 1 - tests/test/ok_01.cc | 24 ---------------- tests/test/ok_01/cmp/generic | 1 - tests/test/ok_02.cc | 26 ----------------- tests/test/ok_02/cmp/generic | 1 - 24 files changed, 405 deletions(-) delete mode 100644 tests/test/Makefile delete mode 100644 tests/test/README delete mode 100644 tests/test/no_compile_01.cc delete mode 100644 tests/test/no_compile_02.cc delete mode 100644 tests/test/no_diff_01.cc delete mode 100644 tests/test/no_diff_01/cmp/generic delete mode 100644 tests/test/no_diff_02.cc delete mode 100644 tests/test/no_diff_02/cmp/generic delete mode 100644 tests/test/no_diff_03.cc delete mode 100644 tests/test/no_diff_03/cmp/generic delete mode 100644 tests/test/no_diff_04.cc delete mode 100644 tests/test/no_diff_04/cmp/generic delete mode 100644 tests/test/no_link_01.cc delete mode 100644 tests/test/no_link_02.cc delete mode 100644 tests/test/no_run_01.cc delete mode 100644 tests/test/no_run_02.cc delete mode 100644 tests/test/no_run_03.cc delete mode 100644 tests/test/no_run_03/cmp/generic delete mode 100644 tests/test/no_run_04.cc delete mode 100644 tests/test/no_run_04/cmp/generic delete mode 100644 tests/test/ok_01.cc delete mode 100644 tests/test/ok_01/cmp/generic delete mode 100644 tests/test/ok_02.cc delete mode 100644 tests/test/ok_02/cmp/generic diff --git a/tests/test/Makefile b/tests/test/Makefile deleted file mode 100644 index c77f9fdf96..0000000000 --- a/tests/test/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -############################################################ -# $Id: Makefile 13841 2006-09-06 21:04:19Z kanschat $ -# Copyright (C) 2006, 2010 by the deal.II authors -############################################################ - -############################################################ -# Test if test suite reports the expected results -# -# This directory contains tests failing at different stages. -# When running all tests, this should be reflected in the results. -# -############################################################ - -include ../Makefile.paths -include $D/common/Make.global_options -debug-mode = on - - -############################################################ -# phony header file to force compilation whenever -# make is invoked -############################################################ - -phony.h: - touch phony.h - -############################################################ -# Make sure even numbers are are always recompiled -############################################################ - -no_*_?[02468]/obj.g.o: phony.h - -############################################################ -# Another odd target that sets al OK files to the OK status -# Try 'make report' after doing this -############################################################ - -all-ok: - @for test in $(tests); do echo 'diff ok' > $$test/OK ; done - - -include ../Makefile.rules -include Makefile.depend -include Makefile.tests - -.PHONY: default phony.h diff --git a/tests/test/README b/tests/test/README deleted file mode 100644 index 1c6f9f2efa..0000000000 --- a/tests/test/README +++ /dev/null @@ -1,21 +0,0 @@ -This directory tests the testsuite, not the deal.II library! It should -not be included in the regular regression test runs! - -Things that should be checked for when changing the implementation of -the test suite: - -1. After make clean, first and second run should produce same results -2. Tests with even number should produce same results as previous odd number -3. Tests should produce results as indicated by their name - - - -Remarks on the implementation - -The file phony.h is used to make sure compilation is started in EVERY -run of make for targets with even numbers. - -The current use of phony.h makes 'make report' report a wrong result -for ok_02. While this is not a problem as long as we know it, we must -be aware of it when changing the implementation. - diff --git a/tests/test/no_compile_01.cc b/tests/test/no_compile_01.cc deleted file mode 100644 index 52509b464e..0000000000 --- a/tests/test/no_compile_01.cc +++ /dev/null @@ -1,19 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't compile - -int main() -{ - not_declared(); -} diff --git a/tests/test/no_compile_02.cc b/tests/test/no_compile_02.cc deleted file mode 100644 index 6850824bc9..0000000000 --- a/tests/test/no_compile_02.cc +++ /dev/null @@ -1,21 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't compile - -#include "phony.h" - -int main() -{ - not_declared(); -} diff --git a/tests/test/no_diff_01.cc b/tests/test/no_diff_01.cc deleted file mode 100644 index 5e5bbc3bcc..0000000000 --- a/tests/test/no_diff_01.cc +++ /dev/null @@ -1,24 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program runs, but won't produce results - - -#include -#include - -#include "phony.h" - -int main() -{ -} diff --git a/tests/test/no_diff_01/cmp/generic b/tests/test/no_diff_01/cmp/generic deleted file mode 100644 index e2da0096d9..0000000000 --- a/tests/test/no_diff_01/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -other results diff --git a/tests/test/no_diff_02.cc b/tests/test/no_diff_02.cc deleted file mode 100644 index 13789467fb..0000000000 --- a/tests/test/no_diff_02.cc +++ /dev/null @@ -1,22 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program runs, but won't produce results - - -#include -#include - -int main() -{ -} diff --git a/tests/test/no_diff_02/cmp/generic b/tests/test/no_diff_02/cmp/generic deleted file mode 100644 index e2da0096d9..0000000000 --- a/tests/test/no_diff_02/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -other results diff --git a/tests/test/no_diff_03.cc b/tests/test/no_diff_03.cc deleted file mode 100644 index f35760badc..0000000000 --- a/tests/test/no_diff_03.cc +++ /dev/null @@ -1,24 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that produces wrong results - - -#include -#include - -int main() -{ - std::ofstream out("no_diff_03/output"); - out << "My output" << std::endl; -} diff --git a/tests/test/no_diff_03/cmp/generic b/tests/test/no_diff_03/cmp/generic deleted file mode 100644 index e2da0096d9..0000000000 --- a/tests/test/no_diff_03/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -other results diff --git a/tests/test/no_diff_04.cc b/tests/test/no_diff_04.cc deleted file mode 100644 index 9cd2b079c3..0000000000 --- a/tests/test/no_diff_04.cc +++ /dev/null @@ -1,26 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that produces wrong results - - -#include -#include - -#include "phony.h" - -int main() -{ - std::ofstream out("no_diff_04/output"); - out << "My output" << std::endl; -} diff --git a/tests/test/no_diff_04/cmp/generic b/tests/test/no_diff_04/cmp/generic deleted file mode 100644 index e2da0096d9..0000000000 --- a/tests/test/no_diff_04/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -other results diff --git a/tests/test/no_link_01.cc b/tests/test/no_link_01.cc deleted file mode 100644 index 8ef55c6223..0000000000 --- a/tests/test/no_link_01.cc +++ /dev/null @@ -1,21 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't link - -void not_implemented(); - -int main() -{ - not_implemented(); -} diff --git a/tests/test/no_link_02.cc b/tests/test/no_link_02.cc deleted file mode 100644 index 4ab1f46af8..0000000000 --- a/tests/test/no_link_02.cc +++ /dev/null @@ -1,23 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't link - -#include "phony.h" - -void not_implemented(); - -int main() -{ - not_implemented(); -} diff --git a/tests/test/no_run_01.cc b/tests/test/no_run_01.cc deleted file mode 100644 index 474338989a..0000000000 --- a/tests/test/no_run_01.cc +++ /dev/null @@ -1,22 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't run and does not produce results - - -#include - -int main() -{ - exit(1); -} diff --git a/tests/test/no_run_02.cc b/tests/test/no_run_02.cc deleted file mode 100644 index 1905b732d9..0000000000 --- a/tests/test/no_run_02.cc +++ /dev/null @@ -1,24 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't run and does not produce results - - -#include - -#include "phony.h" - -int main() -{ - exit(1); -} diff --git a/tests/test/no_run_03.cc b/tests/test/no_run_03.cc deleted file mode 100644 index f5002a3542..0000000000 --- a/tests/test/no_run_03.cc +++ /dev/null @@ -1,26 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't run, but produces results - - -#include -#include - -int main() -{ - std::ofstream out("no_run_03/output"); - out << "My output" << std::endl; - - exit(1); -} diff --git a/tests/test/no_run_03/cmp/generic b/tests/test/no_run_03/cmp/generic deleted file mode 100644 index 09f017120d..0000000000 --- a/tests/test/no_run_03/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -My output diff --git a/tests/test/no_run_04.cc b/tests/test/no_run_04.cc deleted file mode 100644 index 7dc5a491a0..0000000000 --- a/tests/test/no_run_04.cc +++ /dev/null @@ -1,28 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that won't run, but produces results - - -#include -#include - -#include "phony.h" - -int main() -{ - std::ofstream out("no_run_04/output"); - out << "My output" << std::endl; - - exit(1); -} diff --git a/tests/test/no_run_04/cmp/generic b/tests/test/no_run_04/cmp/generic deleted file mode 100644 index 09f017120d..0000000000 --- a/tests/test/no_run_04/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -My output diff --git a/tests/test/ok_01.cc b/tests/test/ok_01.cc deleted file mode 100644 index 984675c75d..0000000000 --- a/tests/test/ok_01.cc +++ /dev/null @@ -1,24 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that produces correct results - - -#include -#include - -int main() -{ - std::ofstream out("ok_01/output"); - out << "My output" << std::endl; -} diff --git a/tests/test/ok_01/cmp/generic b/tests/test/ok_01/cmp/generic deleted file mode 100644 index 09f017120d..0000000000 --- a/tests/test/ok_01/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -My output diff --git a/tests/test/ok_02.cc b/tests/test/ok_02.cc deleted file mode 100644 index 35230ce9fb..0000000000 --- a/tests/test/ok_02.cc +++ /dev/null @@ -1,26 +0,0 @@ -//---------------------------------------------------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 2006 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------------------------------------------------- - -// A test program that produces correct results - - -#include -#include - -#include "phony.h" - -int main() -{ - std::ofstream out("ok_02/output"); - out << "My output" << std::endl; -} diff --git a/tests/test/ok_02/cmp/generic b/tests/test/ok_02/cmp/generic deleted file mode 100644 index 09f017120d..0000000000 --- a/tests/test/ok_02/cmp/generic +++ /dev/null @@ -1 +0,0 @@ -My output -- 2.39.5