Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
Christophe
CMake
Commits
cdde9e5a
Commit
cdde9e5a
authored
3 years ago
by
Craig Scott
Browse files
Options
Downloads
Patches
Plain Diff
Help: Improve wording and cross-referencing for ctest JUnit output
parent
e98bfa48
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Help/command/ctest_test.rst
+3
-3
3 additions, 3 deletions
Help/command/ctest_test.rst
Help/manual/ctest.1.rst
+4
-2
4 additions, 2 deletions
Help/manual/ctest.1.rst
with
7 additions
and
5 deletions
Help/command/ctest_test.rst
+
3
−
3
View file @
cdde9e5a
...
...
@@ -155,12 +155,12 @@ The options are:
Store in the ``<result-var>`` variable -1 if there are any errors running
the command and prevent ctest from returning non-zero if an error occurs.
``OUTPUT_JUNIT``
``OUTPUT_JUNIT
<file>
``
.. versionadded:: 3.21
Write test results to ``<file>`` in JUnit XML format. If ``<file>`` is a
relative path it will be placed in the build directory. If ``<file>
>
``
already exists it will be overwritten. Note that the resulting JUnit XML
relative path
,
it will be placed in the build directory. If ``<file>``
already exists
,
it will be overwritten. Note that the resulting JUnit XML
file is **not** uploaded to CDash because it would be redundant with
CTest's ``Test.xml`` file.
...
...
This diff is collapsed.
Click to expand it.
Help/manual/ctest.1.rst
+
4
−
2
View file @
cdde9e5a
...
...
@@ -137,8 +137,10 @@ Options
``--output-junit <file>``
Write test results in JUnit format.
This option tells CTest to write test results to a ``<file>`` JUnit XML file.
If ``<file>`` already exists it will be overwritten.
This option tells CTest to write test results to ``<file>`` in JUnit XML
format. If ``<file>`` already exists, it will be overwritten. If using the
``-S`` option to run a dashboard script, use the ``OUTPUT_JUNIT`` keyword
with the :command:`ctest_test` command instead.
``-N,--show-only[=<format>]``
Disable actual execution of tests.
...
...
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