Skip to content

Commit

Permalink
Merge pull request #4502 from ESMCI/fix_bless_test_results
Browse files Browse the repository at this point in the history
Fix bless test results

Fixes requiring --*-only flag
Fixes logic for default behavior of performing all bless types or only a single type
Adds exclude feature

Test suite: pytest -vvv CIME/tests/test_unit_*
Test baseline: n/a
Test namelist changes: n/a
Test status: n/a

Fixes n/a
User interface changes?:
Update gh-pages html (Y/N)?:
  • Loading branch information
jgfouca authored Oct 24, 2023
2 parents 742547b + 0a676db commit e47e4c1
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 148 deletions.
4 changes: 3 additions & 1 deletion CIME/Tools/bless_test_results
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ OR
"\ncan follow either the config_pes.xml or the env_mach_pes.xml format.",
)

parser.add_argument("--exclude", nargs="*", help="Exclude tests")

parser.add_argument(
"bless_tests",
nargs="*",
Expand All @@ -104,7 +106,7 @@ OR
def create_bless_options(parser):
bless_group = parser.add_argument_group("Bless options")

mutual_bless_group = bless_group.add_mutually_exclusive_group(required=True)
mutual_bless_group = bless_group.add_mutually_exclusive_group()

mutual_bless_group.add_argument(
"-n", "--namelists-only", action="store_true", help="Only analyze namelists."
Expand Down
Loading

0 comments on commit e47e4c1

Please sign in to comment.