diff --git a/CIME/bless_test_results.py b/CIME/bless_test_results.py index c6f0754ebd8..0502c541d3a 100644 --- a/CIME/bless_test_results.py +++ b/CIME/bless_test_results.py @@ -216,7 +216,7 @@ def bless_test_results( bless_perf=False, **_, # Capture all for extra ): - bless_all = not (namelists_only | hist_only) + bless_all = not (namelists_only | hist_only | bless_tput | bless_mem | bless_perf) test_status_files = get_test_status_files(test_root, compiler, test_id=test_id) diff --git a/CIME/tests/test_unit_bless_test_results.py b/CIME/tests/test_unit_bless_test_results.py index fe9003d1bd2..620f07f9603 100644 --- a/CIME/tests/test_unit_bless_test_results.py +++ b/CIME/tests/test_unit_bless_test_results.py @@ -429,7 +429,7 @@ def test_bless_perf( ts = TestStatus.return_value ts.get_name.return_value = "SMS.f19_g16.S.docker_gnu" ts.get_overall_test_status.return_value = ("PASS", "RUN") - ts.get_status.side_effect = ["PASS", "PASS", "PASS", "FAIL", "FAIL"] + ts.get_status.side_effect = ["PASS", "PASS", "FAIL", "FAIL", "FAIL"] case = Case.return_value.__enter__.return_value @@ -470,7 +470,7 @@ def test_bless_memory_only( ts = TestStatus.return_value ts.get_name.return_value = "SMS.f19_g16.S.docker_gnu" ts.get_overall_test_status.return_value = ("PASS", "RUN") - ts.get_status.side_effect = ["PASS", "PASS", "PASS", "FAIL"] + ts.get_status.side_effect = ["PASS", "PASS", "FAIL", "FAIL"] case = Case.return_value.__enter__.return_value @@ -509,7 +509,7 @@ def test_bless_throughput_only( ts = TestStatus.return_value ts.get_name.return_value = "SMS.f19_g16.S.docker_gnu" ts.get_overall_test_status.return_value = ("PASS", "RUN") - ts.get_status.side_effect = ["PASS", "PASS", "PASS", "FAIL"] + ts.get_status.side_effect = ["PASS", "PASS", "FAIL", "FAIL"] case = Case.return_value.__enter__.return_value