Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reusing test suites #310

Merged
merged 4 commits into from
May 17, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Update documentation
  • Loading branch information
phil-blain committed May 13, 2019
commit 0318f86f57d754f8f8c51f5278dce9db0d739d0d
6 changes: 4 additions & 2 deletions doc/source/user_guide/ug_running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Some hints:
- To change batch settings, manually edit the top of the **cice.run** or **cice.test** (if running a test) file
- To turn on the debug compiler flags, set ``ICE_BLDDEBUG`` in **cice.setttings** to true. It is also possible to use the ``debug`` option (``-s debug``) when creating the case with **cice.setup** to set this option automatically.
- To change compiler options, manually edit the Macros file
- To clean the build before each compile, set ``ICE_CLEANBUILD`` in **cice.settings** to true. To not clean before the build, set ``ICE_CLEANBUILD`` in **cice.settings** to false. It is also possible to use the ``incremental`` option (``-s incremental``) when creating the case with **cice.setup** to set this option automatically.
- To clean the build before each compile, set ``ICE_CLEANBUILD`` in **cice.settings** to true (this is the default value), or use the ``buildclean`` option (``-s buildclean``) when creating the case with **cice.setup**. To not clean before the build, set ``ICE_CLEANBUILD`` in **cice.settings** to false, or use the ``buildincremental`` option (``-s buildincremental``) when creating the case with **cice.setup**.

To build and run::

Expand Down Expand Up @@ -164,7 +164,9 @@ Some of the options are

``debug`` which turns on the compiler debug flags

``incremental`` which turns off the option to clean the build before each compile
``buildclean`` which turns on the option to clean the build before each compile

``buildincremental`` which turns off the option to clean the build before each compile

``short``, ``medium``, ``long`` which change the batch time limit

Expand Down
6 changes: 3 additions & 3 deletions doc/source/user_guide/ug_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,10 @@ Test Suite Examples

11) **Reusing a test suite**

Add the incremental option (``-s incremental``). This permits the suite to be re-run without recompiling the whole code.
Add the buildincremental option (``-s buildincremental``). This permits the suite to be rerun without recompiling the whole code.
::

./cice.setup --suite base_suite --mach conrad --env intel --testid v01b --set incremental
./cice.setup --suite base_suite --mach conrad --env intel --testid v01b --set buildincremental
cd testsuite.v01b
# wait for runs to complete
./results.csh
Expand All @@ -539,7 +539,7 @@ Test Suite Examples
# wait for runs to complete
./results.csh

Only modified files will be recompiled, and the suite will be re-run.
Only modified files will be recompiled, and the suite will be rerun.

12) **Create and test a custom suite**

Expand Down