Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

testsuite.sh 694 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  1. #!/usr/bin/env bash
  2. #
  3. # test if testsuite is up to date and setup correctly
  4. # make sure we are using the gmt executable from the build tree
  5. # compare actual dirs with expected values
  6. echo -n "gmt location: "
  7. gmt --show-bindir | grep "^${GMT_BINARY_DIR}/src$"
  8. echo -n "sharedir : "
  9. gmt --show-sharedir | grep "^${GMT_SOURCE_DIR}/share$"
  10. echo -n "datadir : "
  11. gmt --show-datadir | grep "^${GMT_DATADIR}$"
  12. echo -n "gmt gshhg dir : "
  13. gmt get DIR_GSHHG | grep "^${GSHHG_DIR}$"
  14. echo -n "gmt DCW dir : "
  15. gmt get DIR_DCW | grep "^${DCW_DIR}$"
  16. # compare actual version with expected version
  17. echo -n "gmt version : "
  18. gmt --version | grep "${GMT_VERSION}$"
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...