]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
In those directories in which now all .cc files correspond to tests, simplify the...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Sep 2010 18:55:47 +0000 (18:55 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Sep 2010 18:55:47 +0000 (18:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@22076 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hsl/Makefile
tests/petsc/Makefile
tests/trilinos/Makefile
tests/umfpack/Makefile

index 38969d7a792b4dbc07a28a77720404a53c7c5ff5..7de41a4da025e962dd3a07a88430dac86745a8e9 100644 (file)
@@ -21,14 +21,8 @@ default: run-tests
 
 ############################################################
 
-tests_x = *
-
-# from above list of regular expressions, generate the real set of
-# tests
-expand = $(shell echo $(addsuffix .cc,$(1)) \
-           | $(PERL) -pi -e 's/\.cc//g;')
-tests = $(call expand,$(tests_x))
-
+# all .cc-files are tests:
+tests = $(basename $(wildcard *.cc))
 
 ############################################################
 
index 381c3f731a9802ee844ee55d6e5dfab080dc1f5f..d40682b73ac427185bd865ec4c0ab49ff2685660 100644 (file)
@@ -1,6 +1,6 @@
 ############################################################
 # $Id$
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008 by the deal.II authors
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2010 by the deal.II authors
 ############################################################
 
 ############################################################
@@ -20,14 +20,8 @@ default: run-tests
 
 ############################################################
 
-tests_x = *
-
-
-# from above list of regular expressions, generate the real set of
-# tests
-expand = $(shell echo $(addsuffix .cc,$(1)) \
-           | $(PERL) -pi -e 's/\.cc//g;')
-tests = $(call expand,$(tests_x))
+# all .cc-files are tests:
+tests = $(basename $(wildcard *.cc))
 
 ############################################################
 
@@ -36,4 +30,4 @@ include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
 
-.PHONY: default
\ No newline at end of file
+.PHONY: default
index 381c3f731a9802ee844ee55d6e5dfab080dc1f5f..d40682b73ac427185bd865ec4c0ab49ff2685660 100644 (file)
@@ -1,6 +1,6 @@
 ############################################################
 # $Id$
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008 by the deal.II authors
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2010 by the deal.II authors
 ############################################################
 
 ############################################################
@@ -20,14 +20,8 @@ default: run-tests
 
 ############################################################
 
-tests_x = *
-
-
-# from above list of regular expressions, generate the real set of
-# tests
-expand = $(shell echo $(addsuffix .cc,$(1)) \
-           | $(PERL) -pi -e 's/\.cc//g;')
-tests = $(call expand,$(tests_x))
+# all .cc-files are tests:
+tests = $(basename $(wildcard *.cc))
 
 ############################################################
 
@@ -36,4 +30,4 @@ include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
 
-.PHONY: default
\ No newline at end of file
+.PHONY: default
index 562bf6a91e8694f533e7efb1bda6d561232ec36f..0b5ea82109da2b6f0bfeef4db7cf57800ffec7dc 100644 (file)
@@ -1,6 +1,6 @@
 ############################################################
 # $Id: Makefile 13843 2006-09-06 21:29:34Z kanschat $
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2010 by the deal.II authors
 ############################################################
 
 ############################################################
@@ -26,14 +26,8 @@ default: run-tests
 
 ############################################################
 
-tests_x = umfpack*
-
-
-# from above list of regular expressions, generate the real set of
-# tests
-expand = $(shell echo $(addsuffix .cc,$(1)) \
-           | $(PERL) -pi -e 's/\.cc//g;')
-tests = $(call expand,$(tests_x))
+# all .cc-files are tests:
+tests = $(basename $(wildcard *.cc))
 
 ############################################################
 
@@ -42,4 +36,4 @@ include ../Makefile.rules
 include Makefile.depend
 include Makefile.tests
 
-.PHONY: default
\ No newline at end of file
+.PHONY: default

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.