ESMCI / cime

Common Infrastructure for Modeling the Earth
http://esmci.github.io/cime
Other
162 stars 209 forks source link

Fix list_e3sm_tests tool #4642

Closed jasonb5 closed 4 months ago

jasonb5 commented 5 months ago

Fixes list_e3sm_tests tool.

Test suite: n/a Test baseline: n/a Test namelist changes: n/a Test status: n/a

Fixes #4628

User interface changes?: Update gh-pages html (Y/N)?:

rljacob commented 5 months ago

The help message still needs some work. If I type: list_e3sm_tests e3sm_developer. It doesn't work. You have to type; ./list_e3sm_tests suites e3sm_developer

Which is odd. I'd like to suggest different behavior. list_e3sm_tests with no arguments will output all the test suite names like list_e3sm_tests lists does now. Then list_e3sm_tests e3sm_developer will list the tests in e3sm_developer.

The help string can then include the -toptions which it currently doesn't.

Can I also request a -t lcompsets option which will list the long name of the compsets.

jasonb5 commented 5 months ago

@rljacob Yea I see I missed updating the help message.

I'll change the behavior back.

Would you rather have the -t lcompsets or --long?

rljacob commented 5 months ago

--longwould be fine. Whatever you think is best.

jasonb5 commented 5 months ago

@rljacob Reverted the behavior, add the --long option, and finished up the description.