aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-04-03 19:32:53 +0200
committerKristian Evers <kristianevers@gmail.com>2018-04-03 19:32:53 +0200
commit053b7e3e45b0ce60cde462a9d590afd6d4682cd1 (patch)
tree841d84ba95f9ee199334b10645a76d2152fe1d67
parentfa2fcad163b8068d418fba1924a19f35b071d7d3 (diff)
downloadPROJ-053b7e3e45b0ce60cde462a9d590afd6d4682cd1.tar.gz
PROJ-053b7e3e45b0ce60cde462a9d590afd6d4682cd1.zip
Add 'echo' and 'skip' command to gie docs
-rw-r--r--docs/source/apps/gie.rst40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/source/apps/gie.rst b/docs/source/apps/gie.rst
index eee0e22d..777c5833 100644
--- a/docs/source/apps/gie.rst
+++ b/docs/source/apps/gie.rst
@@ -260,6 +260,46 @@ gie command language
See ``gie -l`` for a list of error codes that can be ignored.
+.. option:: echo <text>
+
+ Add user defined text to the output stream. See the example below.
+
+ .. code-block:: console
+
+ <gie>
+ echo ** Mercator projection tests **
+ operation +proj=merc
+ accept 0 0
+ expect 0 0
+ </gie>
+
+ which returns
+
+ .. code-block:: console
+
+ -------------------------------------------------------------------------------
+ Reading file 'test.gie'
+ ** Mercator projection test **
+ -------------------------------------------------------------------------------
+ total: 1 tests succeeded, 0 tests skipped, 0 tests failed.
+ -------------------------------------------------------------------------------
+
+.. option:: skip
+
+ Skip any test after the first occurence of :option:`skip`. In the example below only
+ the first test will be performed. The second test is skipped. This feature is mostly
+ relevant for debugging when writing new test cases.
+
+ .. code-block:: console
+
+ <gie>
+ operation proj=merc
+ accept 0 0
+ expect 0 0
+ skip
+ accept 0 1
+ expect 0 110579.9
+ </gie>
Background
**********