ctest.1.rst 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256
  1. .. cmake-manual-description: CTest Command-Line Reference
  2. ctest(1)
  3. ********
  4. .. contents::
  5. Synopsis
  6. ========
  7. .. parsed-literal::
  8. ctest [<options>]
  9. ctest --build-and-test <path-to-source> <path-to-build>
  10. --build-generator <generator> [<options>...]
  11. [--build-options <opts>...] [--test-command <command> [<args>...]]
  12. ctest {-D <dashboard> | -M <model> -T <action> | -S <script> | -SP <script>}
  13. [-- <dashboard-options>...]
  14. Description
  15. ===========
  16. The **ctest** executable is the CMake test driver program.
  17. CMake-generated build trees created for projects that use the
  18. ENABLE_TESTING and ADD_TEST commands have testing support. This
  19. program will run the tests and report results.
  20. Options
  21. =======
  22. ``-C <cfg>, --build-config <cfg>``
  23. Choose configuration to test.
  24. Some CMake-generated build trees can have multiple build
  25. configurations in the same tree. This option can be used to specify
  26. which one should be tested. Example configurations are "Debug" and
  27. "Release".
  28. ``--progress``
  29. Enable short progress output from tests.
  30. When the output of **ctest** is being sent directly to a terminal, the
  31. progress through the set of tests is reported by updating the same line
  32. rather than printing start and end messages for each test on new lines.
  33. This can significantly reduce the verbosity of the test output.
  34. Test completion messages are still output on their own line for failed
  35. tests and the final test summary will also still be logged.
  36. This option can also be enabled by setting the environment variable
  37. :envvar:`CTEST_PROGRESS_OUTPUT`.
  38. ``-V,--verbose``
  39. Enable verbose output from tests.
  40. Test output is normally suppressed and only summary information is
  41. displayed. This option will show all test output.
  42. ``-VV,--extra-verbose``
  43. Enable more verbose output from tests.
  44. Test output is normally suppressed and only summary information is
  45. displayed. This option will show even more test output.
  46. ``--debug``
  47. Displaying more verbose internals of CTest.
  48. This feature will result in a large number of output that is mostly
  49. useful for debugging dashboard problems.
  50. ``--output-on-failure``
  51. Output anything outputted by the test program if the test should fail.
  52. This option can also be enabled by setting the
  53. :envvar:`CTEST_OUTPUT_ON_FAILURE` environment variable
  54. ``-F``
  55. Enable failover.
  56. This option allows CTest to resume a test set execution that was
  57. previously interrupted. If no interruption occurred, the ``-F`` option
  58. will have no effect.
  59. ``-j <jobs>, --parallel <jobs>``
  60. Run the tests in parallel using the given number of jobs.
  61. This option tells CTest to run the tests in parallel using given
  62. number of jobs. This option can also be set by setting the
  63. :envvar:`CTEST_PARALLEL_LEVEL` environment variable.
  64. This option can be used with the :prop_test:`PROCESSORS` test property.
  65. See `Label and Subproject Summary`_.
  66. ``--test-load <level>``
  67. While running tests in parallel (e.g. with ``-j``), try not to start
  68. tests when they may cause the CPU load to pass above a given threshold.
  69. When ``ctest`` is run as a `Dashboard Client`_ this sets the
  70. ``TestLoad`` option of the `CTest Test Step`_.
  71. ``-Q,--quiet``
  72. Make CTest quiet.
  73. This option will suppress all the output. The output log file will
  74. still be generated if the ``--output-log`` is specified. Options such
  75. as ``--verbose``, ``--extra-verbose``, and ``--debug`` are ignored
  76. if ``--quiet`` is specified.
  77. ``-O <file>, --output-log <file>``
  78. Output to log file.
  79. This option tells CTest to write all its output to a log file.
  80. ``-N,--show-only[=<format>]``
  81. Disable actual execution of tests.
  82. This option tells CTest to list the tests that would be run but not
  83. actually run them. Useful in conjunction with the ``-R`` and ``-E``
  84. options.
  85. ``<format>`` can be one of the following values.
  86. ``human``
  87. Human-friendly output. This is not guaranteed to be stable.
  88. This is the default.
  89. ``json-v1``
  90. Dump the test information in JSON format.
  91. See `Show as JSON Object Model`_.
  92. ``-L <regex>, --label-regex <regex>``
  93. Run tests with labels matching regular expression.
  94. This option tells CTest to run only the tests whose labels match the
  95. given regular expression.
  96. ``-R <regex>, --tests-regex <regex>``
  97. Run tests matching regular expression.
  98. This option tells CTest to run only the tests whose names match the
  99. given regular expression.
  100. ``-E <regex>, --exclude-regex <regex>``
  101. Exclude tests matching regular expression.
  102. This option tells CTest to NOT run the tests whose names match the
  103. given regular expression.
  104. ``-LE <regex>, --label-exclude <regex>``
  105. Exclude tests with labels matching regular expression.
  106. This option tells CTest to NOT run the tests whose labels match the
  107. given regular expression.
  108. ``-FA <regex>, --fixture-exclude-any <regex>``
  109. Exclude fixtures matching ``<regex>`` from automatically adding any tests to
  110. the test set.
  111. If a test in the set of tests to be executed requires a particular fixture,
  112. that fixture's setup and cleanup tests would normally be added to the test set
  113. automatically. This option prevents adding setup or cleanup tests for fixtures
  114. matching the ``<regex>``. Note that all other fixture behavior is retained,
  115. including test dependencies and skipping tests that have fixture setup tests
  116. that fail.
  117. ``-FS <regex>, --fixture-exclude-setup <regex>``
  118. Same as ``-FA`` except only matching setup tests are excluded.
  119. ``-FC <regex>, --fixture-exclude-cleanup <regex>``
  120. Same as ``-FA`` except only matching cleanup tests are excluded.
  121. ``-D <dashboard>, --dashboard <dashboard>``
  122. Execute dashboard test.
  123. This option tells CTest to act as a CDash client and perform a
  124. dashboard test. All tests are <Mode><Test>, where Mode can be
  125. Experimental, Nightly, and Continuous, and Test can be Start,
  126. Update, Configure, Build, Test, Coverage, and Submit.
  127. See `Dashboard Client`_.
  128. ``-D <var>:<type>=<value>``
  129. Define a variable for script mode.
  130. Pass in variable values on the command line. Use in conjunction
  131. with ``-S`` to pass variable values to a dashboard script. Parsing ``-D``
  132. arguments as variable values is only attempted if the value
  133. following ``-D`` does not match any of the known dashboard types.
  134. ``-M <model>, --test-model <model>``
  135. Sets the model for a dashboard.
  136. This option tells CTest to act as a CDash client where the ``<model>``
  137. can be ``Experimental``, ``Nightly``, and ``Continuous``.
  138. Combining ``-M`` and ``-T`` is similar to ``-D``.
  139. See `Dashboard Client`_.
  140. ``-T <action>, --test-action <action>``
  141. Sets the dashboard action to perform.
  142. This option tells CTest to act as a CDash client and perform some
  143. action such as ``start``, ``build``, ``test`` etc. See
  144. `Dashboard Client Steps`_ for the full list of actions.
  145. Combining ``-M`` and ``-T`` is similar to ``-D``.
  146. See `Dashboard Client`_.
  147. ``-S <script>, --script <script>``
  148. Execute a dashboard for a configuration.
  149. This option tells CTest to load in a configuration script which sets
  150. a number of parameters such as the binary and source directories.
  151. Then CTest will do what is required to create and run a dashboard.
  152. This option basically sets up a dashboard and then runs ``ctest -D``
  153. with the appropriate options.
  154. See `Dashboard Client`_.
  155. ``-SP <script>, --script-new-process <script>``
  156. Execute a dashboard for a configuration.
  157. This option does the same operations as ``-S`` but it will do them in a
  158. separate process. This is primarily useful in cases where the
  159. script may modify the environment and you do not want the modified
  160. environment to impact other ``-S`` scripts.
  161. See `Dashboard Client`_.
  162. ``-I [Start,End,Stride,test#,test#|Test file], --tests-information``
  163. Run a specific number of tests by number.
  164. This option causes CTest to run tests starting at number Start,
  165. ending at number End, and incrementing by Stride. Any additional
  166. numbers after Stride are considered individual test numbers. Start,
  167. End,or stride can be empty. Optionally a file can be given that
  168. contains the same syntax as the command line.
  169. ``-U, --union``
  170. Take the Union of ``-I`` and ``-R``.
  171. When both ``-R`` and ``-I`` are specified by default the intersection of
  172. tests are run. By specifying ``-U`` the union of tests is run instead.
  173. ``--rerun-failed``
  174. Run only the tests that failed previously.
  175. This option tells CTest to perform only the tests that failed during
  176. its previous run. When this option is specified, CTest ignores all
  177. other options intended to modify the list of tests to run (``-L``, ``-R``,
  178. ``-E``, ``-LE``, ``-I``, etc). In the event that CTest runs and no tests
  179. fail, subsequent calls to CTest with the ``--rerun-failed`` option will run
  180. the set of tests that most recently failed (if any).
  181. ``--repeat-until-fail <n>``
  182. Require each test to run ``<n>`` times without failing in order to pass.
  183. This is useful in finding sporadic failures in test cases.
  184. ``--max-width <width>``
  185. Set the max width for a test name to output.
  186. Set the maximum width for each test name to show in the output.
  187. This allows the user to widen the output to avoid clipping the test
  188. name which can be very annoying.
  189. ``--interactive-debug-mode [0|1]``
  190. Set the interactive mode to 0 or 1.
  191. This option causes CTest to run tests in either an interactive mode
  192. or a non-interactive mode. On Windows this means that in
  193. non-interactive mode, all system debug pop up windows are blocked.
  194. In dashboard mode (Experimental, Nightly, Continuous), the default
  195. is non-interactive. When just running tests not for a dashboard the
  196. default is to allow popups and interactive debugging.
  197. ``--no-label-summary``
  198. Disable timing summary information for labels.
  199. This option tells CTest not to print summary information for each
  200. label associated with the tests run. If there are no labels on the
  201. tests, nothing extra is printed.
  202. See `Label and Subproject Summary`_.
  203. ``--no-subproject-summary``
  204. Disable timing summary information for subprojects.
  205. This option tells CTest not to print summary information for each
  206. subproject associated with the tests run. If there are no subprojects on the
  207. tests, nothing extra is printed.
  208. See `Label and Subproject Summary`_.
  209. ``--build-and-test``
  210. See `Build and Test Mode`_.
  211. ``--test-output-size-passed <size>``
  212. Limit the output for passed tests to ``<size>`` bytes.
  213. ``--test-output-size-failed <size>``
  214. Limit the output for failed tests to ``<size>`` bytes.
  215. ``--overwrite``
  216. Overwrite CTest configuration option.
  217. By default CTest uses configuration options from configuration file.
  218. This option will overwrite the configuration option.
  219. ``--force-new-ctest-process``
  220. Run child CTest instances as new processes.
  221. By default CTest will run child CTest instances within the same
  222. process. If this behavior is not desired, this argument will
  223. enforce new processes for child CTest processes.
  224. ``--schedule-random``
  225. Use a random order for scheduling tests.
  226. This option will run the tests in a random order. It is commonly
  227. used to detect implicit dependencies in a test suite.
  228. ``--submit-index``
  229. Legacy option for old Dart2 dashboard server feature.
  230. Do not use.
  231. ``--timeout <seconds>``
  232. Set the default test timeout.
  233. This option effectively sets a timeout on all tests that do not
  234. already have a timeout set on them via the :prop_test:`TIMEOUT`
  235. property.
  236. ``--stop-time <time>``
  237. Set a time at which all tests should stop running.
  238. Set a real time of day at which all tests should timeout. Example:
  239. ``7:00:00 -0400``. Any time format understood by the curl date parser
  240. is accepted. Local time is assumed if no timezone is specified.
  241. ``--print-labels``
  242. Print all available test labels.
  243. This option will not run any tests, it will simply print the list of
  244. all labels associated with the test set.
  245. .. include:: OPTIONS_HELP.txt
  246. .. _`Label and Subproject Summary`:
  247. Label and Subproject Summary
  248. ============================
  249. CTest prints timing summary information for each label and subproject
  250. associated with the tests run. The label time summary will not include labels
  251. that are mapped to subprojects.
  252. When the :prop_test:`PROCESSORS` test property is set, CTest will display a
  253. weighted test timing result in label and subproject summaries. The time is
  254. reported with `sec*proc` instead of just `sec`.
  255. The weighted time summary reported for each label or subproject j is computed
  256. as::
  257. Weighted Time Summary for Label/Subproject j =
  258. sum(raw_test_time[j,i] * num_processors[j,i], i=1...num_tests[j])
  259. for labels/subprojects j=1...total
  260. where:
  261. * raw_test_time[j,i]: Wall-clock time for the ith test for the jth label or
  262. subproject
  263. * num_processors[j,i]: Value of the CTest PROCESSORS property for the ith test
  264. for the jth label or subproject
  265. * num_tests[j]: Number of tests associated with the jth label or subproject
  266. * total: Total number of labels or subprojects that have at least one test run
  267. Therefore, the weighted time summary for each label or subproject represents
  268. the amount of time that CTest gave to run the tests for each label or
  269. subproject and gives a good representation of the total expense of the tests
  270. for each label or subproject when compared to other labels or subprojects.
  271. For example, if "SubprojectA" showed "100 sec*proc" and "SubprojectB" showed
  272. "10 sec*proc", then CTest allocated approximately 10 times the CPU/core time
  273. to run the tests for "SubprojectA" than for "SubprojectB" (e.g. so if effort
  274. is going to be expended to reduce the cost of the test suite for the whole
  275. project, then reducing the cost of the test suite for "SubprojectA" would
  276. likely have a larger impact than effort to reduce the cost of the test suite
  277. for "SubprojectB").
  278. .. _`Build and Test Mode`:
  279. Build and Test Mode
  280. ===================
  281. CTest provides a command-line signature to configure (i.e. run cmake on),
  282. build, and/or execute a test::
  283. ctest --build-and-test <path-to-source> <path-to-build>
  284. --build-generator <generator>
  285. [<options>...]
  286. [--build-options <opts>...]
  287. [--test-command <command> [<args>...]]
  288. The configure and test steps are optional. The arguments to this command line
  289. are the source and binary directories. The ``--build-generator`` option *must*
  290. be provided to use ``--build-and-test``. If ``--test-command`` is specified
  291. then that will be run after the build is complete. Other options that affect
  292. this mode include:
  293. ``--build-target``
  294. Specify a specific target to build.
  295. If left out the ``all`` target is built.
  296. ``--build-nocmake``
  297. Run the build without running cmake first.
  298. Skip the cmake step.
  299. ``--build-run-dir``
  300. Specify directory to run programs from.
  301. Directory where programs will be after it has been compiled.
  302. ``--build-two-config``
  303. Run CMake twice.
  304. ``--build-exe-dir``
  305. Specify the directory for the executable.
  306. ``--build-generator``
  307. Specify the generator to use. See the :manual:`cmake-generators(7)` manual.
  308. ``--build-generator-platform``
  309. Specify the generator-specific platform.
  310. ``--build-generator-toolset``
  311. Specify the generator-specific toolset.
  312. ``--build-project``
  313. Specify the name of the project to build.
  314. ``--build-makeprogram``
  315. Override the make program chosen by CTest with a given one.
  316. ``--build-noclean``
  317. Skip the make clean step.
  318. ``--build-config-sample``
  319. A sample executable to use to determine the configuration that
  320. should be used. e.g. Debug/Release/etc.
  321. ``--build-options``
  322. Additional options for configuring the build (i.e. for CMake, not for
  323. the build tool). Note that if this is specified, the ``--build-options``
  324. keyword and its arguments must be the last option given on the command
  325. line, with the possible exception of ``--test-command``.
  326. ``--test-command``
  327. The command to run as the test step with the ``--build-and-test`` option.
  328. All arguments following this keyword will be assumed to be part of the
  329. test command line, so it must be the last option given.
  330. ``--test-timeout``
  331. The time limit in seconds
  332. .. _`Dashboard Client`:
  333. Dashboard Client
  334. ================
  335. CTest can operate as a client for the `CDash`_ software quality dashboard
  336. application. As a dashboard client, CTest performs a sequence of steps
  337. to configure, build, and test software, and then submits the results to
  338. a `CDash`_ server. The command-line signature used to submit to `CDash`_ is::
  339. ctest (-D <dashboard> | -M <model> -T <action> | -S <script> | -SP <script>)
  340. [-- <dashboard-options>...]
  341. Options for Dashboard Client include:
  342. ``--track <track>``
  343. Specify the track to submit dashboard to
  344. Submit dashboard to specified track instead of default one. By
  345. default, the dashboard is submitted to Nightly, Experimental, or
  346. Continuous track, but by specifying this option, the track can be
  347. arbitrary.
  348. ``-A <file>, --add-notes <file>``
  349. Add a notes file with submission.
  350. This option tells CTest to include a notes file when submitting
  351. dashboard.
  352. ``--tomorrow-tag``
  353. Nightly or experimental starts with next day tag.
  354. This is useful if the build will not finish in one day.
  355. ``--extra-submit <file>[;<file>]``
  356. Submit extra files to the dashboard.
  357. This option will submit extra files to the dashboard.
  358. ``--http1.0``
  359. Submit using HTTP 1.0.
  360. This option will force CTest to use HTTP 1.0 to submit files to the
  361. dashboard, instead of HTTP 1.1.
  362. ``--no-compress-output``
  363. Do not compress test output when submitting.
  364. This flag will turn off automatic compression of test output. Use
  365. this to maintain compatibility with an older version of CDash which
  366. doesn't support compressed test output.
  367. Dashboard Client Steps
  368. ----------------------
  369. CTest defines an ordered list of testing steps of which some or all may
  370. be run as a dashboard client:
  371. ``Start``
  372. Start a new dashboard submission to be composed of results recorded
  373. by the following steps.
  374. See the `CTest Start Step`_ section below.
  375. ``Update``
  376. Update the source tree from its version control repository.
  377. Record the old and new versions and the list of updated source files.
  378. See the `CTest Update Step`_ section below.
  379. ``Configure``
  380. Configure the software by running a command in the build tree.
  381. Record the configuration output log.
  382. See the `CTest Configure Step`_ section below.
  383. ``Build``
  384. Build the software by running a command in the build tree.
  385. Record the build output log and detect warnings and errors.
  386. See the `CTest Build Step`_ section below.
  387. ``Test``
  388. Test the software by loading a ``CTestTestfile.cmake``
  389. from the build tree and executing the defined tests.
  390. Record the output and result of each test.
  391. See the `CTest Test Step`_ section below.
  392. ``Coverage``
  393. Compute coverage of the source code by running a coverage
  394. analysis tool and recording its output.
  395. See the `CTest Coverage Step`_ section below.
  396. ``MemCheck``
  397. Run the software test suite through a memory check tool.
  398. Record the test output, results, and issues reported by the tool.
  399. See the `CTest MemCheck Step`_ section below.
  400. ``Submit``
  401. Submit results recorded from other testing steps to the
  402. software quality dashboard server.
  403. See the `CTest Submit Step`_ section below.
  404. Dashboard Client Modes
  405. ----------------------
  406. CTest defines three modes of operation as a dashboard client:
  407. ``Nightly``
  408. This mode is intended to be invoked once per day, typically at night.
  409. It enables the ``Start``, ``Update``, ``Configure``, ``Build``, ``Test``,
  410. ``Coverage``, and ``Submit`` steps by default. Selected steps run even
  411. if the ``Update`` step reports no changes to the source tree.
  412. ``Continuous``
  413. This mode is intended to be invoked repeatedly throughout the day.
  414. It enables the ``Start``, ``Update``, ``Configure``, ``Build``, ``Test``,
  415. ``Coverage``, and ``Submit`` steps by default, but exits after the
  416. ``Update`` step if it reports no changes to the source tree.
  417. ``Experimental``
  418. This mode is intended to be invoked by a developer to test local changes.
  419. It enables the ``Start``, ``Configure``, ``Build``, ``Test``, ``Coverage``,
  420. and ``Submit`` steps by default.
  421. Dashboard Client via CTest Command-Line
  422. ---------------------------------------
  423. CTest can perform testing on an already-generated build tree.
  424. Run the ``ctest`` command with the current working directory set
  425. to the build tree and use one of these signatures::
  426. ctest -D <mode>[<step>]
  427. ctest -M <mode> [ -T <step> ]...
  428. The ``<mode>`` must be one of the above `Dashboard Client Modes`_,
  429. and each ``<step>`` must be one of the above `Dashboard Client Steps`_.
  430. CTest reads the `Dashboard Client Configuration`_ settings from
  431. a file in the build tree called either ``CTestConfiguration.ini``
  432. or ``DartConfiguration.tcl`` (the names are historical). The format
  433. of the file is::
  434. # Lines starting in '#' are comments.
  435. # Other non-blank lines are key-value pairs.
  436. <setting>: <value>
  437. where ``<setting>`` is the setting name and ``<value>`` is the
  438. setting value.
  439. In build trees generated by CMake, this configuration file is
  440. generated by the :module:`CTest` module if included by the project.
  441. The module uses variables to obtain a value for each setting
  442. as documented with the settings below.
  443. .. _`CTest Script`:
  444. Dashboard Client via CTest Script
  445. ---------------------------------
  446. CTest can perform testing driven by a :manual:`cmake-language(7)`
  447. script that creates and maintains the source and build tree as
  448. well as performing the testing steps. Run the ``ctest`` command
  449. with the current working directory set outside of any build tree
  450. and use one of these signatures::
  451. ctest -S <script>
  452. ctest -SP <script>
  453. The ``<script>`` file must call :ref:`CTest Commands` commands
  454. to run testing steps explicitly as documented below. The commands
  455. obtain `Dashboard Client Configuration`_ settings from their
  456. arguments or from variables set in the script.
  457. Dashboard Client Configuration
  458. ==============================
  459. The `Dashboard Client Steps`_ may be configured by named
  460. settings as documented in the following sections.
  461. .. _`CTest Start Step`:
  462. CTest Start Step
  463. ----------------
  464. Start a new dashboard submission to be composed of results recorded
  465. by the following steps.
  466. In a `CTest Script`_, the :command:`ctest_start` command runs this step.
  467. Arguments to the command may specify some of the step settings.
  468. The command first runs the command-line specified by the
  469. ``CTEST_CHECKOUT_COMMAND`` variable, if set, to initialize the source
  470. directory.
  471. Configuration settings include:
  472. ``BuildDirectory``
  473. The full path to the project build tree.
  474. * `CTest Script`_ variable: :variable:`CTEST_BINARY_DIRECTORY`
  475. * :module:`CTest` module variable: :variable:`PROJECT_BINARY_DIR`
  476. ``SourceDirectory``
  477. The full path to the project source tree.
  478. * `CTest Script`_ variable: :variable:`CTEST_SOURCE_DIRECTORY`
  479. * :module:`CTest` module variable: :variable:`PROJECT_SOURCE_DIR`
  480. .. _`CTest Update Step`:
  481. CTest Update Step
  482. -----------------
  483. In a `CTest Script`_, the :command:`ctest_update` command runs this step.
  484. Arguments to the command may specify some of the step settings.
  485. Configuration settings to specify the version control tool include:
  486. ``BZRCommand``
  487. ``bzr`` command-line tool to use if source tree is managed by Bazaar.
  488. * `CTest Script`_ variable: :variable:`CTEST_BZR_COMMAND`
  489. * :module:`CTest` module variable: none
  490. ``BZRUpdateOptions``
  491. Command-line options to the ``BZRCommand`` when updating the source.
  492. * `CTest Script`_ variable: :variable:`CTEST_BZR_UPDATE_OPTIONS`
  493. * :module:`CTest` module variable: none
  494. ``CVSCommand``
  495. ``cvs`` command-line tool to use if source tree is managed by CVS.
  496. * `CTest Script`_ variable: :variable:`CTEST_CVS_COMMAND`
  497. * :module:`CTest` module variable: ``CVSCOMMAND``
  498. ``CVSUpdateOptions``
  499. Command-line options to the ``CVSCommand`` when updating the source.
  500. * `CTest Script`_ variable: :variable:`CTEST_CVS_UPDATE_OPTIONS`
  501. * :module:`CTest` module variable: ``CVS_UPDATE_OPTIONS``
  502. ``GITCommand``
  503. ``git`` command-line tool to use if source tree is managed by Git.
  504. * `CTest Script`_ variable: :variable:`CTEST_GIT_COMMAND`
  505. * :module:`CTest` module variable: ``GITCOMMAND``
  506. The source tree is updated by ``git fetch`` followed by
  507. ``git reset --hard`` to the ``FETCH_HEAD``. The result is the same
  508. as ``git pull`` except that any local moficiations are overwritten.
  509. Use ``GITUpdateCustom`` to specify a different approach.
  510. ``GITInitSubmodules``
  511. If set, CTest will update the repository's submodules before updating.
  512. * `CTest Script`_ variable: :variable:`CTEST_GIT_INIT_SUBMODULES`
  513. * :module:`CTest` module variable: ``CTEST_GIT_INIT_SUBMODULES``
  514. ``GITUpdateCustom``
  515. Specify a custom command line (as a semicolon-separated list) to run
  516. in the source tree (Git work tree) to update it instead of running
  517. the ``GITCommand``.
  518. * `CTest Script`_ variable: :variable:`CTEST_GIT_UPDATE_CUSTOM`
  519. * :module:`CTest` module variable: ``CTEST_GIT_UPDATE_CUSTOM``
  520. ``GITUpdateOptions``
  521. Command-line options to the ``GITCommand`` when updating the source.
  522. * `CTest Script`_ variable: :variable:`CTEST_GIT_UPDATE_OPTIONS`
  523. * :module:`CTest` module variable: ``GIT_UPDATE_OPTIONS``
  524. ``HGCommand``
  525. ``hg`` command-line tool to use if source tree is managed by Mercurial.
  526. * `CTest Script`_ variable: :variable:`CTEST_HG_COMMAND`
  527. * :module:`CTest` module variable: none
  528. ``HGUpdateOptions``
  529. Command-line options to the ``HGCommand`` when updating the source.
  530. * `CTest Script`_ variable: :variable:`CTEST_HG_UPDATE_OPTIONS`
  531. * :module:`CTest` module variable: none
  532. ``P4Client``
  533. Value of the ``-c`` option to the ``P4Command``.
  534. * `CTest Script`_ variable: :variable:`CTEST_P4_CLIENT`
  535. * :module:`CTest` module variable: ``CTEST_P4_CLIENT``
  536. ``P4Command``
  537. ``p4`` command-line tool to use if source tree is managed by Perforce.
  538. * `CTest Script`_ variable: :variable:`CTEST_P4_COMMAND`
  539. * :module:`CTest` module variable: ``P4COMMAND``
  540. ``P4Options``
  541. Command-line options to the ``P4Command`` for all invocations.
  542. * `CTest Script`_ variable: :variable:`CTEST_P4_OPTIONS`
  543. * :module:`CTest` module variable: ``CTEST_P4_OPTIONS``
  544. ``P4UpdateCustom``
  545. Specify a custom command line (as a semicolon-separated list) to run
  546. in the source tree (Perforce tree) to update it instead of running
  547. the ``P4Command``.
  548. * `CTest Script`_ variable: none
  549. * :module:`CTest` module variable: ``CTEST_P4_UPDATE_CUSTOM``
  550. ``P4UpdateOptions``
  551. Command-line options to the ``P4Command`` when updating the source.
  552. * `CTest Script`_ variable: :variable:`CTEST_P4_UPDATE_OPTIONS`
  553. * :module:`CTest` module variable: ``CTEST_P4_UPDATE_OPTIONS``
  554. ``SVNCommand``
  555. ``svn`` command-line tool to use if source tree is managed by Subversion.
  556. * `CTest Script`_ variable: :variable:`CTEST_SVN_COMMAND`
  557. * :module:`CTest` module variable: ``SVNCOMMAND``
  558. ``SVNOptions``
  559. Command-line options to the ``SVNCommand`` for all invocations.
  560. * `CTest Script`_ variable: :variable:`CTEST_SVN_OPTIONS`
  561. * :module:`CTest` module variable: ``CTEST_SVN_OPTIONS``
  562. ``SVNUpdateOptions``
  563. Command-line options to the ``SVNCommand`` when updating the source.
  564. * `CTest Script`_ variable: :variable:`CTEST_SVN_UPDATE_OPTIONS`
  565. * :module:`CTest` module variable: ``SVN_UPDATE_OPTIONS``
  566. ``UpdateCommand``
  567. Specify the version-control command-line tool to use without
  568. detecting the VCS that manages the source tree.
  569. * `CTest Script`_ variable: :variable:`CTEST_UPDATE_COMMAND`
  570. * :module:`CTest` module variable: ``<VCS>COMMAND``
  571. when ``UPDATE_TYPE`` is ``<vcs>``, else ``UPDATE_COMMAND``
  572. ``UpdateOptions``
  573. Command-line options to the ``UpdateCommand``.
  574. * `CTest Script`_ variable: :variable:`CTEST_UPDATE_OPTIONS`
  575. * :module:`CTest` module variable: ``<VCS>_UPDATE_OPTIONS``
  576. when ``UPDATE_TYPE`` is ``<vcs>``, else ``UPDATE_OPTIONS``
  577. ``UpdateType``
  578. Specify the version-control system that manages the source
  579. tree if it cannot be detected automatically.
  580. The value may be ``bzr``, ``cvs``, ``git``, ``hg``,
  581. ``p4``, or ``svn``.
  582. * `CTest Script`_ variable: none, detected from source tree
  583. * :module:`CTest` module variable: ``UPDATE_TYPE`` if set,
  584. else ``CTEST_UPDATE_TYPE``
  585. ``UpdateVersionOnly``
  586. Specify that you want the version control update command to only
  587. discover the current version that is checked out, and not to update
  588. to a different version.
  589. * `CTest Script`_ variable: :variable:`CTEST_UPDATE_VERSION_ONLY`
  590. Additional configuration settings include:
  591. ``NightlyStartTime``
  592. In the ``Nightly`` dashboard mode, specify the "nightly start time".
  593. With centralized version control systems (``cvs`` and ``svn``),
  594. the ``Update`` step checks out the version of the software as of
  595. this time so that multiple clients choose a common version to test.
  596. This is not well-defined in distributed version-control systems so
  597. the setting is ignored.
  598. * `CTest Script`_ variable: :variable:`CTEST_NIGHTLY_START_TIME`
  599. * :module:`CTest` module variable: ``NIGHTLY_START_TIME`` if set,
  600. else ``CTEST_NIGHTLY_START_TIME``
  601. .. _`CTest Configure Step`:
  602. CTest Configure Step
  603. --------------------
  604. In a `CTest Script`_, the :command:`ctest_configure` command runs this step.
  605. Arguments to the command may specify some of the step settings.
  606. Configuration settings include:
  607. ``ConfigureCommand``
  608. Command-line to launch the software configuration process.
  609. It will be executed in the location specified by the
  610. ``BuildDirectory`` setting.
  611. * `CTest Script`_ variable: :variable:`CTEST_CONFIGURE_COMMAND`
  612. * :module:`CTest` module variable: :variable:`CMAKE_COMMAND`
  613. followed by :variable:`PROJECT_SOURCE_DIR`
  614. ``LabelsForSubprojects``
  615. Specify a semicolon-separated list of labels that will be treated as
  616. subprojects. This mapping will be passed on to CDash when configure, test or
  617. build results are submitted.
  618. * `CTest Script`_ variable: :variable:`CTEST_LABELS_FOR_SUBPROJECTS`
  619. * :module:`CTest` module variable: ``CTEST_LABELS_FOR_SUBPROJECTS``
  620. See `Label and Subproject Summary`_.
  621. .. _`CTest Build Step`:
  622. CTest Build Step
  623. ----------------
  624. In a `CTest Script`_, the :command:`ctest_build` command runs this step.
  625. Arguments to the command may specify some of the step settings.
  626. Configuration settings include:
  627. ``DefaultCTestConfigurationType``
  628. When the build system to be launched allows build-time selection
  629. of the configuration (e.g. ``Debug``, ``Release``), this specifies
  630. the default configuration to be built when no ``-C`` option is
  631. given to the ``ctest`` command. The value will be substituted into
  632. the value of ``MakeCommand`` to replace the literal string
  633. ``${CTEST_CONFIGURATION_TYPE}`` if it appears.
  634. * `CTest Script`_ variable: :variable:`CTEST_CONFIGURATION_TYPE`
  635. * :module:`CTest` module variable: ``DEFAULT_CTEST_CONFIGURATION_TYPE``,
  636. initialized by the :envvar:`CMAKE_CONFIG_TYPE` environment variable
  637. ``LabelsForSubprojects``
  638. Specify a semicolon-separated list of labels that will be treated as
  639. subprojects. This mapping will be passed on to CDash when configure, test or
  640. build results are submitted.
  641. * `CTest Script`_ variable: :variable:`CTEST_LABELS_FOR_SUBPROJECTS`
  642. * :module:`CTest` module variable: ``CTEST_LABELS_FOR_SUBPROJECTS``
  643. See `Label and Subproject Summary`_.
  644. ``MakeCommand``
  645. Command-line to launch the software build process.
  646. It will be executed in the location specified by the
  647. ``BuildDirectory`` setting.
  648. * `CTest Script`_ variable: :variable:`CTEST_BUILD_COMMAND`
  649. * :module:`CTest` module variable: ``MAKECOMMAND``,
  650. initialized by the :command:`build_command` command
  651. ``UseLaunchers``
  652. For build trees generated by CMake using one of the
  653. :ref:`Makefile Generators` or the :generator:`Ninja`
  654. generator, specify whether the
  655. ``CTEST_USE_LAUNCHERS`` feature is enabled by the
  656. :module:`CTestUseLaunchers` module (also included by the
  657. :module:`CTest` module). When enabled, the generated build
  658. system wraps each invocation of the compiler, linker, or
  659. custom command line with a "launcher" that communicates
  660. with CTest via environment variables and files to report
  661. granular build warning and error information. Otherwise,
  662. CTest must "scrape" the build output log for diagnostics.
  663. * `CTest Script`_ variable: :variable:`CTEST_USE_LAUNCHERS`
  664. * :module:`CTest` module variable: ``CTEST_USE_LAUNCHERS``
  665. .. _`CTest Test Step`:
  666. CTest Test Step
  667. ---------------
  668. In a `CTest Script`_, the :command:`ctest_test` command runs this step.
  669. Arguments to the command may specify some of the step settings.
  670. Configuration settings include:
  671. ``LabelsForSubprojects``
  672. Specify a semicolon-separated list of labels that will be treated as
  673. subprojects. This mapping will be passed on to CDash when configure, test or
  674. build results are submitted.
  675. * `CTest Script`_ variable: :variable:`CTEST_LABELS_FOR_SUBPROJECTS`
  676. * :module:`CTest` module variable: ``CTEST_LABELS_FOR_SUBPROJECTS``
  677. See `Label and Subproject Summary`_.
  678. ``TestLoad``
  679. While running tests in parallel (e.g. with ``-j``), try not to start
  680. tests when they may cause the CPU load to pass above a given threshold.
  681. * `CTest Script`_ variable: :variable:`CTEST_TEST_LOAD`
  682. * :module:`CTest` module variable: ``CTEST_TEST_LOAD``
  683. ``TimeOut``
  684. The default timeout for each test if not specified by the
  685. :prop_test:`TIMEOUT` test property.
  686. * `CTest Script`_ variable: :variable:`CTEST_TEST_TIMEOUT`
  687. * :module:`CTest` module variable: ``DART_TESTING_TIMEOUT``
  688. .. _`CTest Coverage Step`:
  689. CTest Coverage Step
  690. -------------------
  691. In a `CTest Script`_, the :command:`ctest_coverage` command runs this step.
  692. Arguments to the command may specify some of the step settings.
  693. Configuration settings include:
  694. ``CoverageCommand``
  695. Command-line tool to perform software coverage analysis.
  696. It will be executed in the location specified by the
  697. ``BuildDirectory`` setting.
  698. * `CTest Script`_ variable: :variable:`CTEST_COVERAGE_COMMAND`
  699. * :module:`CTest` module variable: ``COVERAGE_COMMAND``
  700. ``CoverageExtraFlags``
  701. Specify command-line options to the ``CoverageCommand`` tool.
  702. * `CTest Script`_ variable: :variable:`CTEST_COVERAGE_EXTRA_FLAGS`
  703. * :module:`CTest` module variable: ``COVERAGE_EXTRA_FLAGS``
  704. These options are the first arguments passed to ``CoverageCommand``.
  705. .. _`CTest MemCheck Step`:
  706. CTest MemCheck Step
  707. -------------------
  708. In a `CTest Script`_, the :command:`ctest_memcheck` command runs this step.
  709. Arguments to the command may specify some of the step settings.
  710. Configuration settings include:
  711. ``MemoryCheckCommand``
  712. Command-line tool to perform dynamic analysis. Test command lines
  713. will be launched through this tool.
  714. * `CTest Script`_ variable: :variable:`CTEST_MEMORYCHECK_COMMAND`
  715. * :module:`CTest` module variable: ``MEMORYCHECK_COMMAND``
  716. ``MemoryCheckCommandOptions``
  717. Specify command-line options to the ``MemoryCheckCommand`` tool.
  718. They will be placed prior to the test command line.
  719. * `CTest Script`_ variable: :variable:`CTEST_MEMORYCHECK_COMMAND_OPTIONS`
  720. * :module:`CTest` module variable: ``MEMORYCHECK_COMMAND_OPTIONS``
  721. ``MemoryCheckType``
  722. Specify the type of memory checking to perform.
  723. * `CTest Script`_ variable: :variable:`CTEST_MEMORYCHECK_TYPE`
  724. * :module:`CTest` module variable: ``MEMORYCHECK_TYPE``
  725. ``MemoryCheckSanitizerOptions``
  726. Specify options to sanitizers when running with a sanitize-enabled build.
  727. * `CTest Script`_ variable: :variable:`CTEST_MEMORYCHECK_SANITIZER_OPTIONS`
  728. * :module:`CTest` module variable: ``MEMORYCHECK_SANITIZER_OPTIONS``
  729. ``MemoryCheckSuppressionFile``
  730. Specify a file containing suppression rules for the
  731. ``MemoryCheckCommand`` tool. It will be passed with options
  732. appropriate to the tool.
  733. * `CTest Script`_ variable: :variable:`CTEST_MEMORYCHECK_SUPPRESSIONS_FILE`
  734. * :module:`CTest` module variable: ``MEMORYCHECK_SUPPRESSIONS_FILE``
  735. Additional configuration settings include:
  736. ``BoundsCheckerCommand``
  737. Specify a ``MemoryCheckCommand`` that is known to be command-line
  738. compatible with Bounds Checker.
  739. * `CTest Script`_ variable: none
  740. * :module:`CTest` module variable: none
  741. ``PurifyCommand``
  742. Specify a ``MemoryCheckCommand`` that is known to be command-line
  743. compatible with Purify.
  744. * `CTest Script`_ variable: none
  745. * :module:`CTest` module variable: ``PURIFYCOMMAND``
  746. ``ValgrindCommand``
  747. Specify a ``MemoryCheckCommand`` that is known to be command-line
  748. compatible with Valgrind.
  749. * `CTest Script`_ variable: none
  750. * :module:`CTest` module variable: ``VALGRIND_COMMAND``
  751. ``ValgrindCommandOptions``
  752. Specify command-line options to the ``ValgrindCommand`` tool.
  753. They will be placed prior to the test command line.
  754. * `CTest Script`_ variable: none
  755. * :module:`CTest` module variable: ``VALGRIND_COMMAND_OPTIONS``
  756. .. _`CTest Submit Step`:
  757. CTest Submit Step
  758. -----------------
  759. In a `CTest Script`_, the :command:`ctest_submit` command runs this step.
  760. Arguments to the command may specify some of the step settings.
  761. Configuration settings include:
  762. ``BuildName``
  763. Describe the dashboard client platform with a short string.
  764. (Operating system, compiler, etc.)
  765. * `CTest Script`_ variable: :variable:`CTEST_BUILD_NAME`
  766. * :module:`CTest` module variable: ``BUILDNAME``
  767. ``CDashVersion``
  768. Legacy option. Not used.
  769. * `CTest Script`_ variable: none, detected from server
  770. * :module:`CTest` module variable: ``CTEST_CDASH_VERSION``
  771. ``CTestSubmitRetryCount``
  772. Specify a number of attempts to retry submission on network failure.
  773. * `CTest Script`_ variable: none,
  774. use the :command:`ctest_submit` ``RETRY_COUNT`` option.
  775. * :module:`CTest` module variable: ``CTEST_SUBMIT_RETRY_COUNT``
  776. ``CTestSubmitRetryDelay``
  777. Specify a delay before retrying submission on network failure.
  778. * `CTest Script`_ variable: none,
  779. use the :command:`ctest_submit` ``RETRY_DELAY`` option.
  780. * :module:`CTest` module variable: ``CTEST_SUBMIT_RETRY_DELAY``
  781. ``CurlOptions``
  782. Specify a semicolon-separated list of options to control the
  783. Curl library that CTest uses internally to connect to the
  784. server. Possible options are ``CURLOPT_SSL_VERIFYPEER_OFF``
  785. and ``CURLOPT_SSL_VERIFYHOST_OFF``.
  786. * `CTest Script`_ variable: :variable:`CTEST_CURL_OPTIONS`
  787. * :module:`CTest` module variable: ``CTEST_CURL_OPTIONS``
  788. ``DropLocation``
  789. Legacy option. When ``SubmitURL`` is not set, it is constructed from
  790. ``DropMethod``, ``DropSiteUser``, ``DropSitePassword``, ``DropSite``, and
  791. ``DropLocation``.
  792. * `CTest Script`_ variable: :variable:`CTEST_DROP_LOCATION`
  793. * :module:`CTest` module variable: ``DROP_LOCATION`` if set,
  794. else ``CTEST_DROP_LOCATION``
  795. ``DropMethod``
  796. Legacy option. When ``SubmitURL`` is not set, it is constructed from
  797. ``DropMethod``, ``DropSiteUser``, ``DropSitePassword``, ``DropSite``, and
  798. ``DropLocation``.
  799. * `CTest Script`_ variable: :variable:`CTEST_DROP_METHOD`
  800. * :module:`CTest` module variable: ``DROP_METHOD`` if set,
  801. else ``CTEST_DROP_METHOD``
  802. ``DropSite``
  803. Legacy option. When ``SubmitURL`` is not set, it is constructed from
  804. ``DropMethod``, ``DropSiteUser``, ``DropSitePassword``, ``DropSite``, and
  805. ``DropLocation``.
  806. * `CTest Script`_ variable: :variable:`CTEST_DROP_SITE`
  807. * :module:`CTest` module variable: ``DROP_SITE`` if set,
  808. else ``CTEST_DROP_SITE``
  809. ``DropSitePassword``
  810. Legacy option. When ``SubmitURL`` is not set, it is constructed from
  811. ``DropMethod``, ``DropSiteUser``, ``DropSitePassword``, ``DropSite``, and
  812. ``DropLocation``.
  813. * `CTest Script`_ variable: :variable:`CTEST_DROP_SITE_PASSWORD`
  814. * :module:`CTest` module variable: ``DROP_SITE_PASSWORD`` if set,
  815. else ``CTEST_DROP_SITE_PASWORD``
  816. ``DropSiteUser``
  817. Legacy option. When ``SubmitURL`` is not set, it is constructed from
  818. ``DropMethod``, ``DropSiteUser``, ``DropSitePassword``, ``DropSite``, and
  819. ``DropLocation``.
  820. * `CTest Script`_ variable: :variable:`CTEST_DROP_SITE_USER`
  821. * :module:`CTest` module variable: ``DROP_SITE_USER`` if set,
  822. else ``CTEST_DROP_SITE_USER``
  823. ``IsCDash``
  824. Legacy option. Not used.
  825. * `CTest Script`_ variable: :variable:`CTEST_DROP_SITE_CDASH`
  826. * :module:`CTest` module variable: ``CTEST_DROP_SITE_CDASH``
  827. ``ScpCommand``
  828. Legacy option. Not used.
  829. * `CTest Script`_ variable: :variable:`CTEST_SCP_COMMAND`
  830. * :module:`CTest` module variable: ``SCPCOMMAND``
  831. ``Site``
  832. Describe the dashboard client host site with a short string.
  833. (Hostname, domain, etc.)
  834. * `CTest Script`_ variable: :variable:`CTEST_SITE`
  835. * :module:`CTest` module variable: ``SITE``,
  836. initialized by the :command:`site_name` command
  837. ``SubmitURL``
  838. The ``http`` or ``https`` URL of the dashboard server to send the submission
  839. to.
  840. * `CTest Script`_ variable: :variable:`CTEST_SUBMIT_URL`
  841. * :module:`CTest` module variable: ``SUBMIT_URL`` if set,
  842. else ``CTEST_SUBMIT_URL``
  843. ``TriggerSite``
  844. Legacy option. Not used.
  845. * `CTest Script`_ variable: :variable:`CTEST_TRIGGER_SITE`
  846. * :module:`CTest` module variable: ``TRIGGER_SITE`` if set,
  847. else ``CTEST_TRIGGER_SITE``
  848. .. _`Show as JSON Object Model`:
  849. Show as JSON Object Model
  850. =========================
  851. When the ``--show-only=json-v1`` command line option is given, the test
  852. information is output in JSON format. Version 1.0 of the JSON object
  853. model is defined as follows:
  854. ``kind``
  855. The string "ctestInfo".
  856. ``version``
  857. A JSON object specifying the version components. Its members are
  858. ``major``
  859. A non-negative integer specifying the major version component.
  860. ``minor``
  861. A non-negative integer specifying the minor version component.
  862. ``backtraceGraph``
  863. JSON object representing backtrace information with the
  864. following members:
  865. ``commands``
  866. List of command names.
  867. ``files``
  868. List of file names.
  869. ``nodes``
  870. List of node JSON objects with members:
  871. ``command``
  872. Index into the ``commands`` member of the ``backtraceGraph``.
  873. ``file``
  874. Index into the ``files`` member of the ``backtraceGraph``.
  875. ``line``
  876. Line number in the file where the backtrace was added.
  877. ``parent``
  878. Index into the ``nodes`` member of the ``backtraceGraph``
  879. representing the parent in the graph.
  880. ``tests``
  881. A JSON array listing information about each test. Each entry
  882. is a JSON object with members:
  883. ``name``
  884. Test name.
  885. ``config``
  886. Configuration that the test can run on.
  887. Empty string means any config.
  888. ``command``
  889. List where the first element is the test command and the
  890. remaining elements are the command arguments.
  891. ``backtrace``
  892. Index into the ``nodes`` member of the ``backtraceGraph``.
  893. ``properties``
  894. Test properties.
  895. Can contain keys for each of the supported test properties.
  896. See Also
  897. ========
  898. .. include:: LINKS.txt
  899. .. _`CDash`: http://cdash.org/