summaryrefslogtreecommitdiff
path: root/regress-driver
Commit message (Collapse)AuthorAgeFilesLines
* Add -f option to gpsfake, removing a non-ortogonality in the behavior of -1.Eric S. Raymond2011-04-041-1/+1
| | | | Patch concept due to Gleb Smirnoff.
* Break the libgps test code our of libgps_core.c.Eric S. Raymond2011-04-031-2/+2
|
* Don't use to run binaries (fix previous).Greg Troxel2011-03-031-3/+3
|
* Don't assume python scripts in source tree are directly runnable.Greg Troxel2011-03-031-7/+7
| | | | | | | | | | | | | Use ${PYTHON} to invoke scripts, because the sources have "/usr/bin/env python", and a sane approach to the python version incompatibility nightmare is to a) decline to have a program named python and to b) force all python programs to pick a version at configure time and stick with it. (Otherwise you break installed programs when the default changes, or have to go through some difficult-to-prove-correct update process.) With this, regression tests at least begin to run sanely instead of all failing miserably (on NetBSD/pkgsrc).
* make sure regress-driver calls gpsfake explictlyJon Schlueter2011-03-031-7/+7
|
* Portable version of kukabu's fix for the regression-test driver.Eric S. Raymond2011-02-071-4/+8
|
* Typo fix.Eric S. Raymond2011-02-041-1/+1
|
* Cosmetic fix.Eric S. Raymond2011-02-041-1/+2
|
* summarize which regression tests failJon Schlueter2010-12-231-1/+2
|
* whitespace cleanup in regress-driverJon Schlueter2010-12-231-8/+10
|
* Fixed warning in regress-driver scriptJon Schlueter2010-11-051-1/+1
|
* Add -h option to regress-driverJon Schlueter2010-11-051-1/+23
|
* Add -l option to keep logfiles.Eric S. Raymond2010-09-151-4/+11
|
* Slightly clearer trap statements. All regression tests pass.Eric S. Raymond2010-06-171-1/+2
|
* Make the diff output from the regression driver a bit easier to read.Eric S. Raymond2010-06-171-5/+10
| | | | All regression tests pass.
* Remove a kluge in the regression-test driver.Eric S. Raymond2010-06-171-5/+3
| | | | | | | With the multipacket bug gone, it's no longer necessary to compare versions of the test log and check log with the last line trimmed off. All regression tests pass. Code splints and cppcheclks clean.
* regress-driver fixesBeat Bolli2010-06-061-4/+4
| | | | | | | | | These changes are necessary on my 32-bit Linux to make the tests work again after the GPSD_HOME addition. The fake.py changes is needed in case GPSD_HOME is not set at all (my initial problem); the 2nd hunk exports GPSD_HOME for subprocesses of regress-driver and uses it internally.
* add GPSD_HOME environment variable support to gpsfakeJon Schlueter2010-06-051-4/+3
| | | | | | | | check the environment variable GPSD_HOME to find gpsd on path specified if not there check normal PATH env variable for gpsd added note about GPSD_HOME in gpsfake.xml but might not be in correct location changed regress-driver to use GPSD_HOME instead of adding current directory to the PATH
* Don't use non-standard %N with date +.Greg Troxel2010-06-041-2/+2
| | | | | | | | POSIX says that date must support +"specifier" to format dates in various ways and lists a number of specifiers (including %s for seconds since the epoch, used in this script), but it does not specify the use of %N, and %N is not supported by NetBSD's date(1): http://www.opengroup.org/onlinepubs/000095399/utilities/date.html
* Implement a -u switch to force the test framework to use UDP, not ptys.Eric S. Raymond2010-05-041-1/+2
| | | | | | The good news is that rgression tests all pass with this case and -u off. The bad news is that they fail with -u on. It looks like the switch forces some other bug, previously masked, into the open.
* Comment the Python related rules and definitions.Bernd Zeimetz2010-04-231-0/+2
|
* regress-driver reports elapsed time.Eric S. Raymond2010-04-201-4/+19
|
* Fix PATH in regress-driver.Bernd Zeimetz2010-04-201-2/+8
| | | | | We need to have the build directory in $PATH to find the new gpsd in case there is one in $PATH somewhere else in the system.
* Make some print statements compatible with python3.1.Bernd Zeimetz2010-04-201-2/+2
|
* Make regress-driver posix-compatible.Bernd Zeimetz2010-04-161-1/+1
| | | | (Using signal names instead of numbers for trap).
* regress-driver: Simplify PATH/PYTHONPATH evaluation.Bernd Zeimetz2010-04-161-17/+11
| | | | | | This also ensures that we don't need to add . to $PATH. Adding `dirname $0` in case we don't have scripts in build/scripts-$python_version should be enough.
* Merge branch 'master' of git.berlios.de:/gitroot/gpsdBernd Zeimetz2010-04-161-0/+1
|\
| * Explain dot in path.Eric S. Raymond2010-04-071-0/+7
| |
* | regress-driver: Use setup.py build directory.Bernd Zeimetz2010-04-161-2/+20
|/ | | | | | To ensure that regress-driver doesn't use a system-wide installation of the gps module and scripts, the scripts and lib directory from the setup.py build are added to PYTHONPATH/PATH.
* Correct an error in the last regress-driver change.Eric S. Raymond2010-04-041-1/+1
|
* Half of the last change was a bad idea. All regression tests passEric S. Raymond2010-04-041-8/+7
|
* Filter -0.000 to 0.000. Suppress baton prompts on non-ttys unless -t.Eric S. Raymond2010-04-041-5/+11
|
* Make the regress-driver safe for running concurrently.Eric S. Raymond2010-04-021-17/+17
| | | | | | Do all tempfiles in /tmp. Differentiate by $$. Needed now that the flock facility means there might be more than one of these running at a time on a test system.
* Create a regression-test framework for the client library...Eric S. Raymond2009-11-251-6/+17
| | | | ...directly parallel to that for the daemon.
* Fix a corner case in the regress-driver filter.Eric S. Raymond2009-10-121-1/+1
|
* Revert a previous simplification.Eric S. Raymond2009-09-211-4/+7
| | | | | | Restore the code in the regression-test driver to check against both the test file and a version with the last line removed; OpenBSD apparently still has some kind of pty buffering issue that requires this.
* Repair the superraw test.Eric S. Raymond2009-09-181-2/+2
|
* Remove a fulfilled TODO item, add some warning comments,Eric S. Raymond2009-09-171-1/+1
| | | | and fix a minor inconsistency.
* More simplification of the regression test driver.Eric S. Raymond2009-09-141-3/+3
|
* Simplify the regression-test driver.Eric S. Raymond2009-09-141-5/+4
| | | | | | The last major change in the packet-getter means it should no longer be necessary to test against both a check file and the same file with the last line omitted.
* Prevent spurious failure indication from shell trap statement.Eric S. Raymond2009-09-061-1/+1
|
* Clean up properly on signal.Eric S. Raymond2009-09-051-1/+1
|
* Eliminate a dependency on old protocol.Eric S. Raymond2009-09-051-2/+1
|
* Prevent adventitious doubling of regression diff lines.Eric S. Raymond2009-09-031-3/+3
|
* regress-driver -n can't be made to work, so get rid of it.Eric S. Raymond2009-08-311-13/+12
|
* Update some documentation. Eric S. Raymond2009-08-281-0/+1
| | | | | Removing the todo item is a bit of a fib as we've only verified types 1 and 9, but the rest are coming. All regression tests pass.
* GNU sed doesn't like having no command-line arguments.Eric S. Raymond2009-08-271-5/+5
|
* Adjusts tests after fix of a bug in the fixbuffer-clearing logicEric S. Raymond2009-08-261-6/+13
| | | | | | Many regression tests were subtly broken by it; affected fields were alt, (sometinmes cleared when it shouldn't have been), mode, and ep[hvs].
* Direct some diagnostics to standard error.Eric S. Raymond2009-08-261-4/+4
|
* Exclude more junk from regression check logs.Eric S. Raymond2009-08-251-4/+5
|