Skip to content

Testing: Replace bc with awk; framework support#1471

Merged
Hallberg-NOAA merged 2 commits into
mom-ocean:dev/gfdlfrom
marshallward:test_bc_framework_fixes
Aug 27, 2021
Merged

Testing: Replace bc with awk; framework support#1471
Hallberg-NOAA merged 2 commits into
mom-ocean:dev/gfdlfrom
marshallward:test_bc_framework_fixes

Conversation

@marshallward
Copy link
Copy Markdown
Collaborator

This patch adds three minor updates to the build and test systems:

  1. A framework selection bug was fixed. The variable name was missing a
    $ token.

  2. the FRAMEWORK variable was added to .testing/Makefile to facilitate
    testing of both FMS frameworks.

  3. Restart half-periods no longer use bc to compute the duration in
    seconds; we now use awk, which is more commonly available.

This patch adds three minor updates to the build and test systems:

1. A framework selection bug was fixed.  The variable name was missing a
   $ token.

2. the FRAMEWORK variable was added to .testing/Makefile to facilitate
   testing of both FMS frameworks.

3. Restart half-periods no longer use `bc` to compute the duration in
   seconds; we now use awk, which is more commonly available.
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 18, 2021

Codecov Report

Merging #1471 (f39f1e1) into dev/gfdl (90af3cb) will not change coverage.
The diff coverage is n/a.

❗ Current head f39f1e1 differs from pull request most recent head e24a58f. Consider uploading reports for the commit e24a58f to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##           dev/gfdl    #1471   +/-   ##
=========================================
  Coverage     29.13%   29.13%           
=========================================
  Files           235      235           
  Lines         71061    71061           
=========================================
  Hits          20707    20707           
  Misses        50354    50354           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90af3cb...e24a58f. Read the comment docs.

Copy link
Copy Markdown
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks entirely plausible to me, and it has passed both the automated TC testing and the pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/13464.

@Hallberg-NOAA Hallberg-NOAA merged commit e0e70e3 into mom-ocean:dev/gfdl Aug 27, 2021
@marshallward marshallward deleted the test_bc_framework_fixes branch February 3, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants