Skip to content

Testing: results cleanup fix#1241

Merged
adcroft merged 1 commit into
mom-ocean:dev/gfdlfrom
marshallward:make_test_ls_fix
Nov 3, 2020
Merged

Testing: results cleanup fix#1241
adcroft merged 1 commit into
mom-ocean:dev/gfdlfrom
marshallward:make_test_ls_fix

Conversation

@marshallward
Copy link
Copy Markdown
Collaborator

Fixing another minor issue related to wiping of empty test directories
in results.

  1. std.{out,err} logs are now wiped prior to running the test, rather
    than wiping them prior to the

    This might be logically equivalent, but its better to wipe them in
    the rule which creates the new ones, and seems to avoid additional
    edge cases.

  2. $(shell ls -A ${dir}) needs to be quoted in order for the shell to
    test the results, which are now added.

Fixing another minor issue related to wiping of empty test directories
in `results`.

1. std.{out,err} logs are now wiped prior to running the test, rather
   than wiping them prior to the

   This might be logically equivalent, but its better to wipe them in
   the rule which creates the new ones, and seems to avoid additional
   edge cases.

2. $(shell ls -A ${dir}) needs to be quoted in order for the shell to
   test the results, which are now added.
Copy link
Copy Markdown
Collaborator

@adcroft adcroft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Erroneous warnings are cleared up as a bonus.

@adcroft adcroft merged commit 15d05aa into mom-ocean:dev/gfdl Nov 3, 2020
@marshallward marshallward deleted the make_test_ls_fix branch January 18, 2021 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants