Doc default behavior of install tests (#21309)
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
parent
6ba2e3ee5d
commit
f766585882
1 changed files with 5 additions and 2 deletions
|
@ -4016,8 +4016,11 @@ the package being tested when ``installed`` is ``True``.
|
|||
The executable runs in ``work_dir``, when specified, using the provided
|
||||
``options``. The return code is checked against the ``status`` argument,
|
||||
which can be an integer or list of integers representing status codes
|
||||
corresponding to successful execution. Spack also checks that every string
|
||||
in ``expected`` is a regex matching part of the output from the test run.
|
||||
corresponding to successful execution (e.g. ``status=[0,3,7]``).
|
||||
Spack also checks that every string in ``expected`` is a regex matching
|
||||
part of the output from the test run (e.g.
|
||||
``expected=['completed successfully', 'converged in']``). Default behavior
|
||||
is to behave as though ``status=[0]`` and ``expected=[]`` are specified.
|
||||
|
||||
Output from the test is written to its log file. The ``purpose`` argument
|
||||
serves as the heading in text logs to highlight the start of each test part.
|
||||
|
|
Loading…
Reference in a new issue