Docs: add more Command Reference links to spack test (#20413)

This commit is contained in:
Adam J. Stewart 2020-12-16 14:08:32 -06:00 committed by GitHub
parent 86f006ffa9
commit 20752db103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3946,7 +3946,7 @@ using the ``run_before`` decorator.
The API for adding tests is not yet considered stable and may change drastically in future releases. The API for adding tests is not yet considered stable and may change drastically in future releases.
.. _file-manipulation: .. _cmd-spack-test:
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
Install Tests Install Tests
@ -4082,7 +4082,7 @@ that directory to the test staging directory during install testing.
The ``test`` method can access those files from the The ``test`` method can access those files from the
``self.test_suite.current_test_data_dir`` directory. ``self.test_suite.current_test_data_dir`` directory.
.. _cmd-spack-test: .. _cmd-spack-test-list:
""""""""""""""""""" """""""""""""""""""
``spack test list`` ``spack test list``
@ -4092,6 +4092,8 @@ Packages available for install testing can be found using the
``spack test list`` command. The command outputs all installed ``spack test list`` command. The command outputs all installed
packages that have defined ``test`` methods. packages that have defined ``test`` methods.
.. _cmd-spack-test-run:
"""""""""""""""""" """"""""""""""""""
``spack test run`` ``spack test run``
"""""""""""""""""" """"""""""""""""""
@ -4114,6 +4116,8 @@ Test output is written to a text log file by default but ``junit``
and ``cdash`` are outputs are available through the ``--log-format`` and ``cdash`` are outputs are available through the ``--log-format``
option. option.
.. _cmd-spack-test-results:
"""""""""""""""""""""" """"""""""""""""""""""
``spack test results`` ``spack test results``
"""""""""""""""""""""" """"""""""""""""""""""
@ -4128,6 +4132,8 @@ test(s) to facilitate debugging.
The ``--failed`` option limits results shown to that of the failed The ``--failed`` option limits results shown to that of the failed
tests, if any, of matching packages. tests, if any, of matching packages.
.. _cmd-spack-test-find:
""""""""""""""""""" """""""""""""""""""
``spack test find`` ``spack test find``
""""""""""""""""""" """""""""""""""""""
@ -4135,6 +4141,8 @@ tests, if any, of matching packages.
The ``spack test find`` command lists the aliases or content hashes The ``spack test find`` command lists the aliases or content hashes
of all test suites whose results are available. of all test suites whose results are available.
.. _cmd-spack-test-remove:
""""""""""""""""""""" """""""""""""""""""""
``spack test remove`` ``spack test remove``
""""""""""""""""""""" """""""""""""""""""""
@ -4143,6 +4151,8 @@ The ``spack test remove`` command removes test suites to declutter
the test results directory. You are prompted to confirm the removal the test results directory. You are prompted to confirm the removal
of each test suite **unless** you use the ``--yes-to-all`` option. of each test suite **unless** you use the ``--yes-to-all`` option.
.. _file-manipulation:
--------------------------- ---------------------------
File manipulation functions File manipulation functions
--------------------------- ---------------------------