Skip to content

Commit

Permalink
Merge branch 'jgfouca/update_to_cime_5.3.0.34' into next (PR #1788)
Browse files Browse the repository at this point in the history
Merge #3 for this PR.

* jgfouca/update_to_cime_5.3.0.34:
  Fix jenkins script mistake made during conflict resolution.
  • Loading branch information
jgfouca committed Oct 4, 2017
2 parents 43be6e7 + 76391fa commit 1102686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cime/scripts/lib/jenkins_generic_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def jenkins_generic_job(generate_baselines, submit_to_cdash, no_batch,
shutil.rmtree(old_dir)

# Remove the old cases
for old_file in glob.glob("{}/*{}*{}*".format((test_root, mach_comp, test_id_root))):
for old_file in glob.glob("{}/*{}*{}*".format(test_root, mach_comp, test_id_root)):
if (os.path.isdir(old_file)):
shutil.rmtree(old_file)
else:
Expand Down Expand Up @@ -110,7 +110,7 @@ def jenkins_generic_job(generate_baselines, submit_to_cdash, no_batch,
if submit_to_cdash:
logging.info("To resubmit to dashboard: wait_for_tests {}/*{}/TestStatus -b {}".format(test_root, test_id, cdash_build_name))

tests_passed = CIME.wait_for_tests.wait_for_tests(glob.glob("{}/*{}/TestStatus".format((test_root, test_id))),
tests_passed = CIME.wait_for_tests.wait_for_tests(glob.glob("{}/*{}/TestStatus".format(test_root, test_id)),
no_wait=not use_batch, # wait if using queue
check_throughput=False, # don't check throughput
check_memory=False, # don't check memory
Expand Down

0 comments on commit 1102686

Please sign in to comment.