Comments (8)
Hmm, all tests are in their own directory with that module name. Why making it different for the ``*.-l2s.sh` tests? I prefer to have them where they are.
from gmt.
The main reason is, these tests work only when USE_COMMON_LONG_OPTIONS
and USE_MODULE_LONG_OPTIONS
are defined. When they're not defined, these tests should be excluded. However, the current layout (e.g., having psbasemap-l2s.sh
in the psbasemap
directory) makes it difficult to exclude these directory. Instead, if all l2s tests are located in the test/long2short
directory, we just need to exclude the whole test/long2short
directory.
from gmt.
OK, but probably what we should do is to make the USE_COMMON_LONG_OPTIONS
and USE_MODULE_LONG_OPTIONS
the default now. The work is mostly done and does not interfere with the rest. What is needed is to document them (big task).
from gmt.
I we can close this now, I think.
from gmt.
I still prefer to move all l2s tests into a separate test directory, since these tests test the codes in gmt/src/longopt
rather than the functionality of individual modules.
from gmt.
In fact, even the fact that the longopt is currently in a bunch of separate headers was discussed at the beginning of this work and the idea was to revise that decision at the end. For example I would rather have each of those .h inserted directly inside the corresponding C code. Anyway, I see no advantage in joining all the l2s tests in a single directory as that makes needlessly harder to find a specific test as comparing to finding it in the directory where all other tests of that module reside.
from gmt.
In fact, even the fact that the longopt is currently in a bunch of separate headers was discussed at the beginning of this work and the idea was to revise that decision at the end. For example I would rather have each of those .h inserted directly inside the corresponding C code.
Makes sense to me. Closing.
from gmt.
Perfect thanks, then one of these days I'll start the .h integration move but we'll have to take care to leave room for the missing supplements longoptions.
from gmt.
Related Issues (20)
- 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
- Link Checker Report on 2024-03-17
- grdimage [ERROR]: Option -Q: Cannot specify a transparent color for grids when intensities are also used HOT 2
- gmtinfo - extended regions are not correctly output with -C HOT 2
- Setting scale bar's font color HOT 4
- Link Checker Report on 2024-03-24
- Rotations with grdview clips images depending on projection and -Q variant
- Oblique projection (Ob): Partly wrong annotations
- Link Checker Report on 2024-03-31 HOT 2
- Link Checker Report on 2024-04-07
- Cache data are stored in the wrong directory if GMT_DATA_SERVER is set via environmental variable or via "gmt set" HOT 6
- Several grdimage issues when producing GeoTIFFs HOT 1
- Link Checker Report on 2024-04-14
- Link Checker Report on 2024-04-21
- Upgrade animation 1 HOT 3
- Bug. Data get filter twice with psevents -q0:inc:
- New failures on Windows CI HOT 2
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.