Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 660 Bytes

TESTING.rst

File metadata and controls

20 lines (15 loc) · 660 Bytes

Testing

The tests/ directory contains Nose style tests for this package.

By default the tests read from the file tests/packets.tsip which contains output captured from a Trimble Copernicus II GPS. This can be changed by setting the environment variable TSIPDEV to point to a different input file or even to an actual Trimble GPS connected to a device in the /dev filesystem. In the latter case the environment variable TSIPBAUD can be used to change the baud rate from the default of 9600.

$ export TSIPDEV=/dev/ttyS0
$ export TSIPBAUD=38400
$ make test