]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Expand list of tests using wildcards.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 20 Oct 2005 04:15:07 +0000 (04:15 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 20 Oct 2005 04:15:07 +0000 (04:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@11630 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/Makefile

index 5434b8becff1b09c7aa00a5a2d14b2ab38953a40..2ba0a2a62bc7ba424b9cb92a50a0d3e153b1936e 100644 (file)
@@ -25,17 +25,27 @@ default: run-tests
 
 ############################################################
 
-tests = fe_data_test traits fe_tools fe_tools_test mapping \
+tests_x=fe_data_test traits fe_tools fe_tools_test mapping \
         mapping_c1 shapes derivatives function numbering mapping_q1_eulerian \
         transfer internals \
        dgq_1 \
-       q_1 q_2 q_3 q_4 interpolate_q1 \
-       rt_1 rt_2 rt_3 rt_4 rt_5 rt_6 rt_7 rtdiff rtn_1 rtn_2 \
+       q_* \
+       interpolate_q1 \
+       rt_* \
+       rtdiff \
+       rtn_* \
        interpolate_rt interpolate_rtn \
        dgp_monomial_1 dgp_monomial_2 \
        system_1 interpolate_system \
-        non_primitive_1 non_primitive_2 \
-        nedelec nedelec_2 nedelec_3 up_and_down
+        non_primitive_* \
+        nedelec* \
+       up_and_down
+
+# 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))
 
 ############################################################
 

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.