diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-24 15:29:50 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-24 15:29:50 -0400 |
commit | c0d020644bf925fb1010c86756e5051e50f18e51 (patch) | |
tree | aeb20db9c4adb7a4f52b7e6206b73333a2d61d78 /gpsfake.xml | |
parent | 0ca4dac4db42ddf2f95bb60007c8f3f5b4f17619 (diff) | |
download | gpsd-c0d020644bf925fb1010c86756e5051e50f18e51.tar.gz |
Add slow=yes option for regression tests in an attempt to avoid flakeouts.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r-- | gpsfake.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gpsfake.xml b/gpsfake.xml index 8faaba6f..ed051fb7 100644 --- a/gpsfake.xml +++ b/gpsfake.xml @@ -38,6 +38,7 @@ BSD terms apply: see the file COPYING in the distribution root for details. <arg choice='opt'>-P <replaceable>port</replaceable></arg> <arg choice='opt'>-r <replaceable>initcmd</replaceable></arg> <arg choice='opt'>-s <replaceable>speed</replaceable></arg> + <arg choice='opt'>-S</arg> <arg choice='opt'>-u</arg> <arg choice='opt'>-t</arg> <arg choice='opt'>-v</arg> @@ -145,6 +146,12 @@ The default is <command>?WATCH={"enable":true,"json":true}</command>.</para> <para>The <option>-s</option> sets the baud rate for the slave tty. The default is 4800.</para> +<para>The option -S tells gpsfake to insert realistic delays in the +test input rather than trying to stuff it through the daemon as fast +as possible. This will make the test(s) run much slower, but avoids +flaky failures due to machine lode and possible race conditions in +the pty layer.</para> + <para>The <option>-t</option> forces the test framework to use TCP rather than pty devices. Besides being a test of TCP source handling, this may be useful for testing from within chroot jails where access |