Comments (5)
Just one thought here, adding more images is definitely a good idea, but it will also significantly increase the number of tests, which will slow down the testing process.
For example, the image for the 35 PostScript fonts (https://docs.generic-mapping-tools.org/dev/_images/GMT_App_G.png) never changes and should always pass. Sometimes it fails because tiny differences caused by different gs versions but we really don't care about it. So it's not necessary to test it.
In other words, we should have a mechanism to skip a test, e.g., adding # SKIP_TEST
to skip it.
from gmt.
Well, I'm willing to write some. Can you make a somewhat prioritized list? Do you want them to be one-liners or within begin
environment ?
from gmt.
Thanks. I dont have a list. I think it words best if there is a particular option that is too nebulous to you and could benefit from a sketch or plot. I am sensitive to @seisman's point but unlike most of the tests these scripts actually produce a figure in the documentation and even allows users to see the script that made it. To the extent possible, show around for something in the test/module directory. If it does not have exactly what you need then you can add to it or it is a new script (which goes in doc/scripts). Don't worry about the PostScript plots - we can update those via DVC when the PR is accepted.
from gmt.
I found a test that is also used separately in doc/scripts. I will remove that test and its baseline PS file. Do I run dvc add test/baseline/psxy to "remove" one file or is there a dvc remove command I should use instead. First time I remove a test...
from gmt.
You can try:
rm doc/scripts/images/xxx.ps
dvc status
dvc add doc/scripts/images
from gmt.
Related Issues (20)
- test/grdcut/vert_cube_cuts.sh fails in macOS/Windows CI HOT 1
- Link Checker Report on 2024-02-04 HOT 1
- Specifying nearneighbor -S, unit not understood? HOT 12
- grdinterpolate generates one layer too much when reading the cube.nc test file
- Link Checker Report on 2024-02-11
- False "Option -XXXX given more than once" HOT 2
- Forum down? HOT 1
- Link Checker Report on 2024-02-18
- Problem clipping with -E*dcw*+c HOT 6
- Cleaning old feature requests HOT 6
- Link Checker Report on 2024-02-25 HOT 1
- grdcontour hanging HOT 5
- Link Checker Report on 2024-03-03
- Release of GMT 6.5.1 needed?
- Movie. ffmpeg "Thread message queue blocking" HOT 1
- Bug in Movie -MPNG (with transparency layer)
- How to add legend and scale to the map. HOT 2
- Let Movie only assemble animation (or make a dry run).
- Link Checker Report on 2024-03-10
- Basemap fails with Mollweide projection across prime meridian or negative longitude defining both central meridian and range HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmt.