-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get tools and their testing working as well as build-namelist testing #228
Changes from 4 commits
a6ae2b9
64bd1be
eab6c58
7dde506
58822f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,8 @@ | |
|
||
#----------------------------------------------------------------------------------------------- | ||
# Add $cfgdir to the list of paths that Perl searches for modules | ||
my @dirs = ( $cfgdir, "$cfgdir/../../../cime/utils/perl5lib" ); | ||
my @dirs = ( $cfgdir, "$cfgdir/../../../cime/utils/perl5lib", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this going to first look in |
||
"$cfgdir/../cime/utils/perl5lib" ); | ||
unshift @INC, @dirs; | ||
my $result = eval "require XML::Lite"; | ||
if ( ! defined($result) ) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
#----------------------------------------------------------------------------------------------- | ||
# Add $scrdir to the list of paths that Perl searches for modules | ||
my @dirs = ( $scrdir, "$scrdir/../../../../cime/utils/perl5lib", | ||
"$scrdir/../../cime/utils/perl5lib" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As above, I'd change the order of these search paths. |
||
); | ||
unshift @INC, @dirs; | ||
my $result = eval "require XML::Lite"; | ||
|
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.
I assume that all of these new entries are referring to files that appear in specific places in the directory tree? If so, the rules should be more specific, listing the exact paths where these files occur.
Also: I started doing this by having multiple
.gitignore
files in different places. However, I was just doing some googling, and it sounds like the most common convention is to put everything in this top-level .gitignore file. So I'd like to rework things to do that. So, for example, this entry insrc/unit_test_stubs/utils/.gitignore
:restUtilMod_stub.F90
would go in the top-level as/src/unit_test_stubs/utils/restUtilMod_stub.F90
(I think it's correct to have this leading slash here: I think this says to match exactly this path). I can do this myself in a following PR if you don't want to deal with it.