| 2 | |
| 3 | |
| 4 | |
| 5 | == The Testserver == |
| 6 | |
| 7 | The server responsible for testing can be found [https://testserver.palm-model.org/ here]. It is a 32 Core shared memory node running Jenkins on top of Ubuntu Server 16.04. The server runs the following test script based on plain PALM installation. |
| 8 | {{{ |
| 9 | #!sh |
| 10 | #!/bin/bash |
| 11 | |
| 12 | palmtest -h "default" -N "${BUILD_NUMBER}" -X 32 |
| 13 | result_default=$? |
| 14 | |
| 15 | if [[ ${result_default} -ne 0 ]]; then |
| 16 | palmtest -h "debug" -N "${BUILD_NUMBER}_debug" -X 32 |
| 17 | result_debug=$? |
| 18 | else |
| 19 | result_debug=0 |
| 20 | fi |
| 21 | |
| 22 | if [[ ${result_default} -eq 0 ]] && [[ ${result_debug} -eq 0 ]]; then |
| 23 | exit 0 |
| 24 | else |
| 25 | exit 1 |
| 26 | fi |
| 27 | |
| 28 | }}} |
| 29 | |
| 30 | == Rules for test case development == |
| 31 | |
| 32 | Please to comply with the following Rules while developing new test cases: |
| 33 | |
| 34 | 1. The test case must be executable on 1, 2, 4, 8, 16 and 32 cores. |
| 35 | 2. The execution time of the test case on a single core should not exceed 10 seconds. |
| 36 | 3. The test case is only allowed to be committed after the developer made sure that the test can run successful on the server. |
| 37 | |
| 38 | == List of proposed test cases == |
| 39 | |
| 40 | ||='''Name''' =||='''Description''' =||='''Status''' =||='''Responsible Developers''' =|| |
| 41 | ||example_cbl ||Simple good old convective boundary layer setup ||Implemented || || |
| 42 | ||ex_lsm_clearsky ||Basic LSM setup ||Implemented ||Katrin || |
| 43 | ||test_oceanml ||Basic ocean mixed layer setup ||Implemented ||Siggi || |