Skip to content

Commit

Permalink
Add NAME and COMMAND to add_test() command in build ref doc (TriBITSP…
Browse files Browse the repository at this point in the history
…ub#582)

This change was made several years ago but we forgot to update this
documentation.
  • Loading branch information
bartlettroscoe committed Sep 14, 2023
1 parent 56059fa commit ef450ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tribits/doc/build_ref/TribitsBuildReferenceBody.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ c) **Setting up to run MPI programs:**

MPI test and example executables are passed to CTest ``add_test()`` as::

add_test(
add_test(NAME <testName> COMMAND
${MPI_EXEC} ${MPI_EXEC_PRE_NUMPROCS_FLAGS}
${MPI_EXEC_NUMPROCS_FLAG} <NP>
${MPI_EXEC_POST_NUMPROCS_FLAGS}
Expand Down

0 comments on commit ef450ea

Please sign in to comment.