Skip to content

Commit 9484985

Browse files
authored
Merge branch 'release/MAPL-v3' into bugfix/pchakrab/grid-get-temp-fix
2 parents e15627b + f3679ad commit 9484985

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

generic3g/tests/Test_Scenarios.pf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ contains
273273

274274
msg = comp_path // '::' // state_intent
275275

276-
state_items = ESMF_HConfigCreateAt(comp_expectations,keyString=state_intent,_RC)
276+
state_items = ESMF_HConfigCreateAt(comp_expectations, keyString=state_intent,_RC)
277277
@assertTrue(ESMF_HConfigIsMap(state_items), msg)
278278

279279
hconfigIter = ESMF_HConfigIterBegin(state_items)
@@ -397,8 +397,8 @@ contains
397397

398398
msg = short_name // ':: '// description
399399

400-
call ESMF_StateGet(state, short_name, itemtype=itemtype, _RC)
401-
if (itemtype /= ESMF_STATEITEM_FIELD) then
400+
itemtype = get_itemtype(state, short_name, _RC)
401+
if (itemtype /= ESMF_STATEITEM_FIELD) then ! that's ok
402402
rc = 0
403403
return
404404
end if
@@ -440,8 +440,8 @@ contains
440440

441441
msg = description
442442

443-
call ESMF_StateGet(state, short_name, itemtype=itemtype, _RC)
444-
if (itemtype /= ESMF_STATEITEM_FIELD) then
443+
itemtype = get_itemtype(state, short_name, _RC)
444+
if (itemtype /= ESMF_STATEITEM_FIELD) then ! that's ok
445445
rc = 0
446446
return
447447
end if
@@ -463,7 +463,7 @@ contains
463463

464464
call ESMF_StateGet(state, short_name, field, _RC)
465465
call ESMF_FieldGet(field, typekind=found_field_typekind, _RC)
466-
msg = msg // ' field typekind: '
466+
msg = msg // short_name
467467
@assert_that(msg, expected_field_typekind == found_field_typekind, is(true()))
468468

469469
rc = 0

generic3g/tests/scenarios/history_wildcard/expectations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- component: root
3131
export:
3232
A/E_A1: {status: complete}
33-
A/E_A2: {status: empty}
33+
A/E_A2: {status: complete}
3434
B/E_B1: {status: empty}
3535
B/E_B2: {status: complete}
3636

generic3g/tests/scenarios/precision_extension/expectations.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
- component: <root>
3737
export:
3838
A/E_A1: {status: complete, typekind: R4, value: 1., rank: 2}
39-
A/E_A3: {status: complete, typekind: R4, value: 7., rank: 2}
39+
A/E_A3: {status: complete, typekind: R8, value: 7., rank: 2}
4040
A/E_A1(1): {status: complete, typekind: R8, value: 1., rank: 2}
41-
A/E_A3(1): {status: complete, typekind: R8, value: 7., rank: 2}
41+
A/E_A3(1): {status: complete, typekind: R4, value: 7., rank: 2}
4242
B/E_B2: {status: complete, typekind: R4, value: 5., rank: 2}
4343
B/E_B2(1): {status: complete, typekind: R8, value: 5., rank: 2}

0 commit comments

Comments
 (0)