]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Just a few minor updates to coverage information. 704/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Mar 2015 04:23:26 +0000 (23:23 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Mar 2015 04:23:26 +0000 (23:23 -0500)
Try to be consistent in the way we spell -DX=TRUE/YES/ON. Also
say how we usually set flags (namely via -D...).

doc/developers/testsuite.html
doc/users/cmake.html

index e8c534bda267959a25e47d188f6bee6958a8efb8..44cd785023c3bb7e691686748728ed3f5f7d4467 100644 (file)
@@ -361,7 +361,7 @@ xx: ===============================    OUTPUT END   ============================
       </ol>
       In order to achieve the first two, configure the library with
       <pre>
-  cmake -DCMAKE_BUILD_TYPE=Debug -DDEAL_II_SETUP_COVERAGE=YES <...>
+  cmake -DCMAKE_BUILD_TYPE=Debug -DDEAL_II_SETUP_COVERAGE=ON <...>
       </pre>
       You can then build the library and run the tests as usual.
     </p>
@@ -377,7 +377,7 @@ xx: ===============================    OUTPUT END   ============================
       </pre>
       when running the testsuite, or directly by
       <pre>
-       ctest <...> -S ../tests/run_coverage.cmake
+  ctest <...> -S ../tests/run_coverage.cmake
       </pre>
     </p>
 
@@ -800,8 +800,8 @@ DESCRIPTION
   - A string that is appended to CTEST_BUILD_NAME
 
 COVERAGE
-  - If set to TRUE deal.II will be configured with
-    DEAL_II_SETUP_COVERAGE=TRUE, CMAKE_BUILD_TYPE=Debug and the
+  - If set to ON deal.II will be configured with
+    DEAL_II_SETUP_COVERAGE=ON, CMAKE_BUILD_TYPE=Debug and the
     CTEST_COVERAGE() stage will be run. Test results must go into the
     "Experimental" section.
 
index abe200fdb7abbac8e3273d935e5364564e27772d..cdadc0007dca8aab0274c635a29f1f8f52a23d59 100644 (file)
@@ -872,15 +872,15 @@ cmake -DDEAL_II_CXX_FLAGS="-Wno-sign-compare" &lt;...&gt;
           (but before the corresponding cached variables).
 
        <li>
-         Disable the configuration completely by setting
-         <code>DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS</code> to
-         <code>OFF</code>.  Beware of the fact that certain features
+         Disable the configuration completely by adding the flag
+         <code>-D DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS=OFF</code>.
+         Beware of the fact that certain features
          may still pull in necessary compiler flags.
 
         <li>
           You can setup additional debug compiler flags to provide test
-          coverage information by setting
-          <code>DEAL_II_SETUP_COVERAGE</code> to <code>ON</code>.
+          coverage information by adding the flag
+          <code>-D DEAL_II_SETUP_COVERAGE=ON</code>.
       </ol>
     </p>
 

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.