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

change extra flags test check to compiler #197

Merged
merged 2 commits into from
May 1, 2023
Merged

change extra flags test check to compiler #197

merged 2 commits into from
May 1, 2023

Conversation

eirikurj
Copy link
Contributor

@eirikurj eirikurj commented May 1, 2023

Purpose

New Intel Ubuntu docker images do not have ESP and OpenVSP installed, resulting in the tests failing, as no tests are allowed to skip (see https://github.com/mdolab/docker/pull/193). This PR updated the check to the compiler instead of the OS.

Expected time until merged

Should be quick once tests pass.

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

Checklist

  • I have run flake8 and black to make sure the Python code adheres to PEP-8 and is consistently formatted
  • I have formatted the Fortran code with fprettify or C/C++ code with clang-format as applicable
  • I have run unit and regression tests which pass locally with my changes
  • I have added new tests that prove my fix is effective or that my feature works
  • I have added necessary documentation

@eirikurj eirikurj requested a review from a team as a code owner May 1, 2023 12:19
@codecov
Copy link

codecov bot commented May 1, 2023

Codecov Report

Merging #197 (8c5a697) into main (f6a44b1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #197   +/-   ##
=======================================
  Coverage   64.87%   64.87%           
=======================================
  Files          47       47           
  Lines       11941    11941           
=======================================
  Hits         7747     7747           
  Misses       4194     4194           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@eirikurj
Copy link
Contributor Author

eirikurj commented May 1, 2023

TACC image failed before because previously the OS variable was not set on this image, thus skipped test are allowed. ESP is not installed because of an Intel MPI check when building the docker images. To be consistent, I added I_MPI_ROOT check also for Intel MPI. Should be good now, but I any case we should get ESP/OpenVSP integrated on Intel.

@sseraj sseraj merged commit 7ca8f36 into main May 1, 2023
@sseraj sseraj deleted the fixTestScript branch May 1, 2023 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.

3 participants