Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
6dfac46b
Commit
6dfac46b
authored
8 years ago
by
Oliver Sander
Committed by
Christoph Grüninger
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix a few typos
parent
a6d255fd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!126
Document how to make tests depend on optional dune modules
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneTestMacros.cmake
+8
-8
8 additions, 8 deletions
cmake/modules/DuneTestMacros.cmake
with
8 additions
and
8 deletions
cmake/modules/DuneTestMacros.cmake
+
8
−
8
View file @
6dfac46b
...
...
@@ -15,7 +15,7 @@
# The name of the test that should be added. If an executable
# is also added (by specifying SOURCES), the executable is also
# named accordingly. If omitted, the name will be deduced from
# the (single) sources parameter or from the given target. Note
,
# the (single) sources parameter or from the given target. Note
# that this requires you to take care, that you only use a target
# or source file for but one such test.
#
...
...
@@ -83,8 +83,8 @@
# :multi:
# :argname: ranks
#
# The numbers of cores that this test
s
should be executed with.
# Note
,
that one test (in the ctest sense) is created for each number
# The numbers of cores that this test should be executed with.
# Note that one test (in the ctest sense) is created for each number
# given here. Any number exceeding the user-specified processor maximum
# :ref:`DUNE_MAX_TEST_CORES` will be ignored. Tests with a
# processor number :code:`n` higher than one will have the suffix
...
...
@@ -95,13 +95,13 @@
# :multi:
# :argname: condition
#
# A number of conditions
,
that CMake should evaluate before adding this
# test. If one of the conditions fail, the test should
instead
be shown
# A number of conditions that CMake should evaluate before adding this
# test. If one of the conditions fail
s
, the test should be shown
# as skipped in the test summary. Use this feature instead of guarding
# the call to :code:`dune_add_test` with an :code:`if` clause.
#
# The passed condition can be a complex expression like
# `( A OR B ) AND ( C OR D )`. Mind the spaces around the par
a
ntheses.
# `( A OR B ) AND ( C OR D )`. Mind the spaces around the par
e
ntheses.
#
# .. cmake_param:: COMMAND
# :multi:
...
...
@@ -109,7 +109,7 @@
#
# You may specify the COMMAND option to give the exact command line to be
# executed when running the test. This defaults to the name of the executable
# added by dune_add_test for this test. Note
,
that if you specify both CMD_ARGS
# added by dune_add_test for this test. Note that if you specify both CMD_ARGS
# and COMMAND, the given CMD_ARGS will be put behind your COMMAND. If you use
# this in combination with the MPI_RANKS parameter, the call to mpi will still be
# wrapped around the given commands.
...
...
@@ -119,7 +119,7 @@
#
# Set if the given test should only be compiled during :code:`make build_tests`,
# but not run during :code:`make test`. This is useful if you compile the same
# executable twice, but with different compile flags, where you want to assue that
# executable twice, but with different compile flags, where you want to assu
r
e that
# it compiles with both sets of flags, but you already know they will produce the
# same result.
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment