Skip to content

Commit

Permalink
Merge pull request #336 from ESMCI/jgfouca/fix_create_test_not_catchi…
Browse files Browse the repository at this point in the history
…ng_missing_project

create_test was not failing the create_newcase phase when project inf…
  • Loading branch information
jgfouca authored Aug 3, 2016
2 parents fef81df + c3f8f84 commit 33ce89b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/python/CIME/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,11 @@ def _create_newcase_phase(self, test):
machine, compiler, test_mods = CIME.utils.parse_test_name(test)

create_newcase_cmd = "%s --case %s --res %s --mach %s --compiler %s --compset %s"\
" --project %s --test"%\
" --test" % \
(os.path.join(self._cime_root, "scripts", "create_newcase"),
test_dir, grid, machine, compiler, compset, self._project)
test_dir, grid, machine, compiler, compset)
if self._project is not None:
create_newcase_cmd += " --project %s " % self._project

if test_mods is not None:
files = Files()
Expand Down

0 comments on commit 33ce89b

Please sign in to comment.