From 053b7e3e45b0ce60cde462a9d590afd6d4682cd1 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Tue, 3 Apr 2018 19:32:53 +0200 Subject: Add 'echo' and 'skip' command to gie docs --- docs/source/apps/gie.rst | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'docs/source/apps') 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 + + Add user defined text to the output stream. See the example below. + + .. code-block:: console + + + echo ** Mercator projection tests ** + operation +proj=merc + accept 0 0 + expect 0 0 + + + 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 + + + operation proj=merc + accept 0 0 + expect 0 0 + skip + accept 0 1 + expect 0 110579.9 + Background ********** -- cgit v1.2.3