summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-12-16 14:08:32 -0600
committerGitHub <noreply@github.com>2020-12-16 12:08:32 -0800
commit20752db1033765f8097a12487fc6da0e06556a75 (patch)
tree6fbfa19ec9f4f339816d4662a04614a69dabaa8c /lib
parent86f006ffa9bf2f88c8a870302732c152af71833b (diff)
downloadspack-20752db1033765f8097a12487fc6da0e06556a75.tar.gz
spack-20752db1033765f8097a12487fc6da0e06556a75.tar.bz2
spack-20752db1033765f8097a12487fc6da0e06556a75.tar.xz
spack-20752db1033765f8097a12487fc6da0e06556a75.zip
Docs: add more Command Reference links to spack test (#20413)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/packaging_guide.rst14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index 8f38dde1b5..7992256856 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -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.
-.. _file-manipulation:
+.. _cmd-spack-test:
^^^^^^^^^^^^^
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
``self.test_suite.current_test_data_dir`` directory.
-.. _cmd-spack-test:
+.. _cmd-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
packages that have defined ``test`` methods.
+.. _cmd-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``
option.
+.. _cmd-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
tests, if any, of matching packages.
+.. _cmd-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
of all test suites whose results are available.
+.. _cmd-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
of each test suite **unless** you use the ``--yes-to-all`` option.
+.. _file-manipulation:
+
---------------------------
File manipulation functions
---------------------------