Skip to content

Commit

Permalink
Merge pull request #2226 from samsrabin/docs-bld-nml-test
Browse files Browse the repository at this point in the history
User's Guide, testing: Fix/fill Build-namelist section
  • Loading branch information
samsrabin authored Nov 3, 2023
2 parents b7a8b33 + fe6385b commit 6ecf185
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/source/users_guide/testing/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ CTSM Fortran Unit Tests
CTSM Build-namelist Tests
=========================

Run the following perl tester that
Test the namelist build script by running the following:

::

> cd bld/unit_testers
> ./build-namelist_test.pl
> ./build-namelist_test.pl 1>namelist_test.log 2>&1

When that's complete, inspect ``namelist_test.log`` (e.g., with ``less namelist_test.log``). If you see ``Successfully ran all testing for build-namelist`` but nothing like ``# Looks like you failed 4 tests of 1999.``, then everything went fine.

If something went wrong, you can find the failing tests like so:

::

> grep -E "^[0-9]+/[0-9]+ < [a-zA-Z]+" namelist_test.log | grep -v "PASS"

Testing PTCLM
=============
Expand Down

0 comments on commit 6ecf185

Please sign in to comment.