Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TRAVIS tests following multi-suite static build #185

Merged

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Apr 19, 2019

This is a bug fix following the multi-suite static build PR #183.

Add missing SUITES_DIR variable in CCPP prebuild config of travis test config to fix travis build errors. Add switch to ccpp_init that indicates that the specified suitename is to be interpreted as filename/filepath

This PR will be tested in conjunction with the PRs listed below.

…issing SUITES_DIR variable in CCPP prebuild config
Copy link
Collaborator

@gold2718 gold2718 left a comment

Choose a reason for hiding this comment

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

A question but I will leave it up to you.

@@ -45,6 +45,9 @@
# Directory where to put all auto-generated physics caps
CAPS_DIR = '.'

# Directory where the suite definition files are stored
SUITES_DIR = '../../../../../src/tests'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not very pythonic. Any reason you are not using os.path?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I guess no, no particular reason. Would have to redo the entire file, though, since all other entries are in the same way. I will probably leave this for another cleanup PR, if it gets done at all before moving to cap_gen. Note that I had to change a few more files, including some changes that need to be tested with NEMSfv3gfs. I will conduct the tests in conjunction with upcoming PRs (will be listed below shortly) and have them merged together.

@codecov-io
Copy link

codecov-io commented Apr 19, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@50f2084). Click here to learn what that means.
The diff coverage is 43.75%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #185   +/-   ##
=========================================
  Coverage          ?   47.28%           
=========================================
  Files             ?       14           
  Lines             ?     1343           
  Branches          ?        0           
=========================================
  Hits              ?      635           
  Misses            ?      708           
  Partials          ?        0
Impacted Files Coverage Δ
src/tests/test_check.f90 74.32% <100%> (ø)
src/ccpp.F90 50.94% <40%> (ø)

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 50f2084...2289730. Read the comment docs.

@climbfuji
Copy link
Collaborator Author

climbfuji commented Apr 19, 2019

Copy link
Collaborator

@grantfirl grantfirl left a comment

Choose a reason for hiding this comment

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

Approved

@grantfirl grantfirl merged commit f007196 into NCAR:master Apr 22, 2019
@climbfuji climbfuji deleted the multi-suite-static-build_followup_fix_travis branch June 27, 2022 03:05
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.

4 participants