-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #717 from Unidata/par-cmake-update.wif
Updating with additional parallel test fenceposts
- Loading branch information
Showing
6 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit 9f2a1c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is always hard to say whether a fix has worked for a race condition, but we have gone from reliable failures to no observed failures; should it become an issue again moving forward I’ll tweak it otherwise for now I’ll work on getting your pull request merged before I leave for AGU :)
I believe this will not work. Does it work for you?
My experience was that the log trick only worked for tests with an extension. That is, a straight-up C test like tst_interops2.c does not have an extension as a test (it is just tst_interops2). As a result, the TEST_EXTENSIONS trick does not work.
What I did instead was call the C programs from within the scripts, at appropriate places, and only call the scripts from the Makefile.am as TESTS. This eliminated many dependencies as well.
Instead I think you want to make tst_hdf4_read_var.log dependent on tst_formatx_hdf4.log, or else just move the tests from tst_hdf4_read_var.sh into tst_formatx_hdf4.sh (since they operate on the same file). Then there will be no dependencies. I think this is the cleanest solution and I adopted it in some other cases where the same file output was used by two scripts.