Skip to content

Commit

Permalink
cice.setup: remove 'suite.jobs' at start of 'suite.submit' (CICE-Cons…
Browse files Browse the repository at this point in the history
…ortium#731)

When running a test suite that includes 'bfbcomp' tests, the test
script ('cice.test') queries the file 'suite.jobs' in the suite
directory to get the job ID of the test against which to compare for
bit-for-bit-ness.

If re-running the suite, 'suite.jobs' is not removed, so that the new
job IDs are appended to the existing file. This leads to syntax errors
when 'cice.test' looks for the job ID to compare against since the
'grep' call returns several matches.

Remove 'suite.jobs' at the start of the 'suite.submit' script generated
by 'cice.setup' to avoid that.
  • Loading branch information
phil-blain authored Jul 15, 2022
1 parent 1585c31 commit 21bd95b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cice.setup
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ else
#!/bin/csh -f
set nonomatch && rm -f ciceexe.* && unset nonomatch
rm -f suite.jobs
set dobuild = true
set doreuse = true
Expand Down

0 comments on commit 21bd95b

Please sign in to comment.