File: README

package info (click to toggle)
gnat-gps 5.3dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 50,360 kB
  • ctags: 11,617
  • sloc: ada: 374,346; ansic: 92,327; python: 15,979; xml: 12,186; sh: 3,277; makefile: 1,113; awk: 154; perl: 128; java: 17
file content (27 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This directory contains the testsuite for the GPS CLI.

There is one test per subdirectory.

To run the whole testsuite, use: ./run.sh
To run an invidiual test, use:   ./run.sh <test>

The structure of an individual test is as follows:

 * if there is a 'test.cmd' present, it is executed.
   You can use $GPS_CLI in this test.cmd to indicate
   the gps_cli program.

   A test.cmd may exit with code 100 to indicate an
   XFAIL, and with code 99 to indicate a DEAD test.

 * if there is no 'test.cmd' present, but there is
   a 'test.py' present, then gps_cli is invoked with

      gps_cli -Pdefault --load=test.py

 * if there is a file 'expected' present, any output
   of the run is compared to this file. Any difference
   means an error

 * if there is no file 'expected' present, any output
   means an error.