summaryrefslogtreecommitdiff
path: root/test_gpsmm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow test_gpsmm to connect via shared memoryRobert Norris2017-03-241-3/+6
| | | | | | | | | Simply skip calling gps_stream() which is only for socket connections. TESTED: test_gpsmm can connect to gpsd shared memory on Linux. Signed-off-by: Fred Wright <fw@fwright.net>
* Remove misleading comment.Robert Norris2017-03-171-1/+0
| | | | | | | | | The code doesn't fail on 32bit machines. TESTED: Run 'test_gpsmm' and 'test_libgps -D 4' on a 32bit Linux machine. Signed-off-by: Fred Wright <fw@fwright.net>
* Fix gpxlogger to be able to run continuouslyRobert Norris2017-03-041-2/+2
| | | | | | | | | | | | My mistake in adding of parameter to run for a specified number of received packets, such that it would never enter the loop when a count was not specified. TESTED: test_gpsmm runs practically forever; or ends when the specified count is reached Signed-off-by: Fred Wright <fw@fwright.net>
* Allow test_gpsmm program to connect to gpsd on a specified server and portRobert Norris2017-02-111-2/+15
| | | | | | | | | Reuse gpsd_source_spec() to process command line arguments. TESTED. Successfully connected with gpsd that's listening on a specified port. Signed-off-by: Fred Wright <fw@fwright.net>
* Enable options into test_gpsmm programRobert Norris2017-02-111-2/+29
| | | | | | | | First enabled option give the number of times the program iterates around the main loop. Mainly this allows the test program to finish cleanly. Signed-off-by: Fred Wright <fw@fwright.net>
* Whitespace+++Gary E. Miller2015-04-301-2/+2
|
* Fix unit test for C++ binding.Eric S. Raymond2015-02-221-3/+5
|
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-2/+2
|
* Explanatory comment and upstream bug explanation.Eric S. Raymond2011-08-181-0/+6
|
* Prevent the C++ test client from segfaulting when GPSD is not running.Eric S. Raymond2011-07-061-1/+4
| | | | | C++ clients should test the return from the stream method to see if the open succeeded.
* Wait method needs an argument.Eric S. Raymond2011-03-091-1/+1
|
* Rebuild the C++ interface to use RAII.Eric S. Raymond2011-02-021-9/+2
| | | | Simplifies the code and invalidates Berlios ug #17778: crash in libgpsmm.
* A working test for the C++ binding.Eric S. Raymond2011-02-021-50/+102
| | | | Don't know how this got broken, but broken it was.
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-2/+0
|
* rename #if 0 to be more descriptiveChris Kuethe2010-04-181-6/+5
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-1/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+1
|
* Add '#if 0' around code to exercise features removed from libgpsmm.h.Greg Troxel2009-11-301-0/+8
| | | | | | Unbreaks the build. This test case now does approximately nothing; it's not clear to be how libgpsmm is supposed to be used, and why there is no callback support.
* Adjust type of local callback function to match type in the .h file.Greg Troxel2009-11-221-2/+2
| | | | This removes "int level", which was unused anyway.
* repository beautification, part 2:Chris Kuethe2009-03-021-0/+71
rename the test programs to test_$(subsystem).c