Skip to content

Commit

Permalink
included instructions on how to add a new test in the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry McGuinness committed Jan 14, 2025
1 parent 3dff4d1 commit b7f80cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ctests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,15 @@ You can use the `-L` option with CTest to run tests for a specific case. For exa
```bash
cd /path/to/build
ctest -L C48_ATM
```

To add a new test use the **AddJJOBTest()** function at the end of the `$HOMEgfs/ctest/CMakeLists.txt` file as follow.
Then auther a new YAML file with the required staged input files as is done with this example for `$HOMEgfs/ctests/cases/C48_ATM_gfs_fcts_seg0.yaml`

```cmake
AddJJOBTest(
CASE "C48_ATM"
JOB "gfs_fcst_seg0"
TEST_DATE "2021032312"
)
```

0 comments on commit b7f80cb

Please sign in to comment.