Skip to content

Bug(s) in Test_ComponentSpecParser #3248

@tclune

Description

@tclune

Building with NAG reveals compilation and fixes of those reveal run-time bugs and fixing those reveals failing tests.

  1. Integer declared with ESMF_KIND_R4 (Should be I4)
    • Not surprising this works with Intel and GNU which have R4=I4=4. NAG does not.
  2. expected_timestring and actual_timestring are declared allocatable but not allocated. ESMF expects allocated strings (unfortunately)
    • I do not know why this ran successfully with Intel & GNU in the CI. Clear runtime error message from NAG.
  3. Fixing the strings results in a failing tests
Failure
 in: 
Test_MaxAction_suite.test_max_accumulate_R4
  Location: 
[Test_MaxAction.pf:39]
accumulated_field not equal to expected values
Arrays not conformable failure:
    Expected shape: [4]
      Actual shape: [16]
  
Failure
 in: 
Test_MinAction_suite.test_min_accumulate_R4
  Location: 
[Test_MinAction.pf:39]
accumulated_field not equal to expected values
Arrays not conformable failure:
    Expected shape: [4]
      Actual shape: [16]
  
 FAILURES!!!
Tests run: 219, Failures: 2, Errors: 0
, Disabled: 0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions