]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Documentation: Add a small section about how to create a new category
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 19 Nov 2013 21:14:03 +0000 (21:14 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 19 Nov 2013 21:14:03 +0000 (21:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@31716 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/developers/testsuite.html

index c2691aa4492c7dd942fb502400709498907c2c0c..3ad09b31d703007478c758a209b98c6c75323de8 100644 (file)
@@ -65,6 +65,7 @@
           <li><a href="#binary">Tests with binary output</a></li>
           <li><a href="#expect">Changing condition for success</a></li>
           <li><a href="#layoutaddtests">Adding new tests</a></li>
+          <li><a href="#layoutaddcategory">Adding new categories</a></li>
         </ol>
         <li><a href="#submit">Submitting test results</a></li>
         <li><a href="#build_tests">Build tests</a></li>
@@ -684,6 +685,25 @@ int main ()
 
 
 
+    <a name="layoutaddcategory"></a>
+    <h2>Adding new categories</h2>
+
+    <p>
+      If you want to create a new category in the testsuite, create an new
+      folder under <cmake>./tests</cmake> that is named accordingly and put
+      a <code>CMakeLists.txt</code> file into it containing
+    </p>
+    <pre>
+
+    CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+    INCLUDE(${DEAL_II_SOURCE_DIR}/cmake/setup_testsuite.cmake)
+    PROJECT(testsuite CXX)
+    INCLUDE(${DEAL_II_TARGET_CONFIG})
+    DEAL_II_PICKUP_TESTS()
+    </pre>
+
+
+
     <a name="submit"></a>
     <h2>Submitting test results</h2>
 

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.