-
Notifications
You must be signed in to change notification settings - Fork 361
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
Suddenly getting ~20 failures from master #8284
Comments
First check if you're using the |
Of course, forgot to do that. BUT, when I do that (call alias set-static which does
so in the terminal that I launch the tests I have $GMT_DATA_SERVER as static. my tests always used to work but not now. Adding a -Vi -Vd shows it is now trying to get the files from the server (oceania) despite this setting. In
Should we simply set it to static there (as default - might want to run from time to time on the latest data, but so far we only use static). Of course, we stil have
and I commented this out in mine:
Recommendations? |
Do you mean changing it to:
or even a short version:
|
What works now for me is to leave the CMakeDefault.cmake as |
Could be that it is the same issue that in #8209? |
I don't think it's related to #8209. See my comment at #8209 (comment). I suspect that something wrong with
I feel this is a better solution. If @PaulWessel I would suggest you applying the above change and see if everything works as you expect. |
OK, will try in a bit once done with something else. |
Hm, with this in
This in commented out in
and this in
When I run cmake:
I get among the listings of what we find:
So that is the default setting. Fine. But I then do echo $GMT_DATA_SERVER and then run the tests in the
I get ~20 or so failures because somehow the oceania in the ConfigDefault.cmake triumphs over what I set in the terminal? |
I can't reproduce your issue on Linux. Are you sure you have a clean build? I have cleaned up my |
OK, I once again put
into the gmtest.in and commented out the
Then in a suitable terminal I run my set-static alias:
It is now set in the terminal:
Now I run my tests which I do via my ctr alias that does this (
Remember that the GMT defaults cmake setting has set (GMT_DATA_SERVER "oceania") so inside Cmake items and things created from *.in, doesn't this take precedence over whatever I set in the terminal? Tests just finished and still 20 failures. Only thing that works for me is to activate the Advanced setting, i.e., uncomment
|
CMake has an ENV operator that can be used to explore things in the environment. Maybe that Advanced setting should be something that checks ENV{GMT_DATA_SERVER} (or whatever the syntax) is and use that? |
I don't think the |
No go. Tried this in Advanced:
with GMT_DATA_SERVER set to static in the terminal. |
I can live with the Advanced setting arrangement since I am rarely making new original figures for papers these days and mostly run the tests. So whatever works for you is what we should do - please do so and I will stay out of it. |
Likewise #8462? |
When we released GMT 6.5 I had no failures when running the tests. This morning, from master, I am getting about 20:
and they seem related to subtle changes in the remote relief files, but I dont think we have updated them since the release? Any thoughts @Esteban82? What happens on the CI tests, @seisman ?
The text was updated successfully, but these errors were encountered: