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

fre make run-fremake test #226

Open
11 tasks
singhd789 opened this issue Oct 28, 2024 · 0 comments
Open
11 tasks

fre make run-fremake test #226

singhd789 opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@singhd789
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
fre make run-fremake needs an associated test.

Describe the solution you'd like
Tests could include

  • existence of model yaml, platform yaml, and compile yaml
  • test for correct target options: Can only list one mutually exclusive target: prod, repro, debug (can list each separately with own -t but not together) --> Target can include openmp with those, but you cannot have both prod and repro listed in one target click entry, for example (not allowed: -t prod-repro)
  • failure for nonexistent platform or target
  • failure if pointing to nonexistent yaml
  • successful creation of checkout script (container - checkout script would be in tmp location, non-container - checkout script would be in modelRoot location)
  • successful running of checkout script
  • successful creation of makefile
  • successful creation of compile script
  • successful running of compile script
  • successful creation of dockerfile (if -npc and container platform used)
  • successful container build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants