Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 41 additions & 6 deletions docs/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The output looks like:
.. code-block:: none

Command line: ./bin/reframe -c tutorial/ -l
Reframe version: 2.13-dev0
Reframe version: 2.15-dev0
Launched by user: USER
Launched on host: daint103
Reframe paths
Expand Down Expand Up @@ -97,9 +97,14 @@ The output looks like:
Found 13 check(s).


The listing contains the name of the check, its description, the tags associated with it and a list of its maintainers.
Note that this listing may also contain checks that are not supported by the current system.
These checks will be just skipped if you try to run them.
By default, this listing shows all the tests supported by the current system and contains the name of the check, its description, the tags associated with it and a list of its maintainers.

.. note::
.. versionchanged:: 2.15

Test listing lists only tests supported by the current system.
Previous versions were showing all the found tests.


Execution of the regression tests
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -214,6 +219,36 @@ Filtering of Regression Tests
At this phase you can select which regression tests should be run or listed.
There are several ways to select regression tests, which we describe in more detail here:

Selecting tests by system
^^^^^^^^^^^^^^^^^^^^^^^^^

.. versionadded:: 2.15


By default, ReFrame always selects the tests that are supported by the current system.
If you want to list the tests supported by a different system, you may achieve that by passing the ``--system`` option:

.. code-block:: bash

./bin/reframe --system=kesch -l


This example lists all the tests that are supported by the system named ``kesch``.
It is also possible to list only the tests that are supported by a specific system partition.
The following example will list only the tests suported by the ``login`` partition of the ``kesch`` system:

.. code-block:: bash

./bin/reframe --system=kesch:login -l


Finally, in order to list all the tests found regardless of their supported systems, you should pass the ``--skip-system-check`` option:

.. code-block:: bash

./bin/reframe --skip-system-check -l


Selecting tests by programming environment
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -226,7 +261,7 @@ To select tests by the programming environment, use the ``-p`` or ``--prgenv`` o
This will select all the checks that support the ``PrgEnv-gnu`` environment.

You can also specify multiple times the ``-p`` option, in which case a test will be selected if it support all the programming environments specified in the command line.
For example the following will select all the checks that can run with both ``PrgEnv-cray`` and ``PrgEnv-gnu``:
For example the following will select all the checks that can run with both ``PrgEnv-cray`` and ``PrgEnv-gnu`` on the current system:

.. code-block:: bash

Expand All @@ -238,7 +273,7 @@ Selecting tests by tags
^^^^^^^^^^^^^^^^^^^^^^^

As we have seen in the `"ReFrame tutorial" <tutorial.html>`__, every regression test may be associated with a set of tags. Using the ``-t`` or ``--tag`` option you can select the regression tests associated with a specific tag.
For example the following will list all the tests that have a ``maintenance`` tag:
For example the following will list all the tests that have a ``maintenance`` tag and can run on the current system:

.. code-block:: bash

Expand Down