You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the UM rose stem suite, the suite will automatically use the
15
-
``STASHmaster_A file`` from your branch when testing your code.
15
+
16
+
When running the UM rose stem suite, the suite will automatically use the
17
+
``STASHmaster_A file`` from your branch when testing your code.
16
18
17
19
The following principles apply when altering the STASHmaster:
18
20
19
21
..
20
22
JW suggest need to include STASH entry guidance here. Maybe an issue for this would be useful?
21
23
22
-
* If you add a new diagnostic to the ``STASHmaster_A`` file then you **must** also add to the stash master help text in :ref:`stashmaster-meta`.
23
-
* If you are altering the stashmaster, this may be referred to the FFPP governance board by the sci/tech or code reviewers - see the STASH entry guidelines.
24
-
* If your change has new stash items or changed/added attributes as an option code, versions mask etc., then first you have to get them reserved and recorded (published) on the reservation web page STASH/ReservedCodes
25
-
* Note that every reservation should be linked to a ticket with the correct explanation and a milestone. This rule applies to all stash related tables placed on this page.
26
-
* Although reservations could be some kind of self-service, contact the section owner first nevertheless. This could help to organise new items (when possible) in some logical groups.
24
+
* If you add a new diagnostic to the ``STASHmaster_A`` file then you **must**
25
+
also add to the stash master help text in :ref:`stashmaster-meta`.
26
+
* If you are altering the stashmaster, this may be referred to the FFPP
27
+
governance board by the sci/tech or code reviewers - see the STASH entry
28
+
guidelines.
29
+
* If your change has new stash items or changed/added attributes as an option
30
+
code, versions mask etc., then first you have to get them reserved and
31
+
recorded (published) on the reservation web page STASH/ReservedCodes
32
+
* Note that every reservation should be linked to a ticket with the correct
33
+
explanation and a milestone. This rule applies to all stash related tables
34
+
placed on this page.
35
+
* Although reservations could be some kind of self-service, contact the section
36
+
owner first nevertheless. This could help to organise new items
37
+
(when possible) in some logical groups.
27
38
* For new option code numbers contact the STASH code owner.
28
39
29
40
.. note::
30
-
Complete details of the STASH system (including the syntax used in the
This test does not use rose or cylc and is particularly useful for
22
-
checking for compile errors while developing.
24
+
This test does not use rose or cylc and is particularly useful for checking
25
+
for compile errors while developing.
23
26
24
27
-----
25
28
26
29
.. important::
27
30
28
-
When specifying the lfric_core source the lfric_core revision **must** be updated in ``dependencies.sh``.
31
+
When specifying the lfric_core source the lfric_core revision **must** be
32
+
updated in ``dependencies.sh``.
29
33
30
-
* If setting the source to an fcm URL, the mirror (``.xm_``) needs to be used and the revision can either be blank (for latest commit) or any valid revision for that branch.
31
-
* If setting the source to a Working Copy, the hostname needs to be provided (as Hostname:Path) and the revision must be blank.
34
+
* If setting the source to an fcm URL, the mirror (``.xm_``) needs to be
35
+
used and the revision can either be blank (for latest commit) or any
36
+
valid revision for that branch.
37
+
* If setting the source to a Working Copy, the hostname needs to be
38
+
provided (as Hostname:Path) and the revision must be blank.
32
39
33
40
For more details, see :ref:`multi-repo_testing`.
34
41
35
42
36
43
Rose stem
37
44
---------
38
-
The LFRic Apps rose stem includes a range of tests to exercise all the applications
39
-
stored in this repository, using multiple compilers, and checksum and plot tasks to
40
-
confirm the outputs.
45
+
46
+
The LFRic Apps rose stem includes a range of tests to exercise all the
47
+
applications stored in this repository, using multiple compilers, and checksum
48
+
and plot tasks to confirm the outputs.
41
49
42
50
.. tip::
43
51
44
-
For LFRic Apps it is possible to update the checksum files on your branch as
45
-
you progress your development to aid with testing. Details on how to do this
46
-
are on the :ref:`KGO page <kgo>`.
52
+
For LFRic Apps it is possible to update the checksum files on your branch
53
+
as you progress your development to aid with testing. Details on how to do
54
+
this are on the :ref:`KGO page <kgo>`.
47
55
48
-
Below is a (by no means comprehensive) set of groups that you may wish to use on
49
-
Met Office systems. Note that there is a lot of overlap between these groups,
50
-
and that you can specify more than one at once, e.g. ``--group=developer,gungho_model``.
56
+
Below is a (by no means comprehensive) set of groups that you may wish to use
57
+
on Met Office systems. Note that there is a lot of overlap between these
58
+
groups, and that you can specify more than one at once, e.g.
Copy file name to clipboardExpand all lines: source/Development/TestSuites/lfric_core.rst
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,14 @@ Testing LFRic Core
5
5
6
6
.. note::
7
7
8
-
At the LFRic Apps vn2.0 release, the cylc7 LFRic Core suite was deprecated and the make test-suite functionality removed. Only the cylc8 suite is now maintained.
8
+
At the LFRic Apps vn2.0 release, the cylc7 LFRic Core suite was deprecated
9
+
and the make test-suite functionality removed. Only the cylc8 suite is now
10
+
maintained.
9
11
10
-
LFRic testing is launched with Cylc8 rose-stem commands (as in eg. LFRic Apps):
12
+
LFRic testing is launched with Cylc8 rose-stem commands (as in eg. LFRic
13
+
Apps):
11
14
12
-
.. code-block::
15
+
.. code-block::shell
13
16
14
17
export CYLC_VERSION=8
15
18
rose stem --group=developer
@@ -22,14 +25,19 @@ that the system level developer tests pass on all the applications. These are
22
25
launched from make and utilise rose and cylc.
23
26
24
27
While developing your change, for expediency you may want to run the tests for
25
-
only some applications. This can be done by changing the group you run, eg ``--group=simple_diffusion``.
28
+
only some applications. This can be done by changing the group you run, eg
29
+
``--group=simple_diffusion``.
26
30
27
-
The command above will launch the developer suite. You can include slightly more testing if required by running ``--group=all`` instead (this includes the developer suite).
31
+
The command above will launch the developer suite. You can include slightly
32
+
more testing if required by running ``--group=all`` instead (this includes the
33
+
developer suite).
28
34
29
-
It is also possible to run on a single platform, eg. ``--group=ex1a``. To select which meto EX machine is used, add ``-S USE_EX<AB/CD/Z>``.
35
+
It is also possible to run on a single platform, eg. ``--group=ex1a``. To
36
+
select which meto EX machine is used, add ``-S USE_EX<AB/CD/Z>``.
30
37
31
38
.. tip::
32
39
33
40
For more details on LFRic testing including details of unit tests please
34
-
visit the `LFRic testing trac wiki page <https://code.metoffice.gov.uk/trac/lfric/wiki/LFRicTechnical/Testing>`_.
0 commit comments