summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-01-16 22:09:12 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-01-16 22:09:12 +0000
commit52855f2f7da6d685bb2eb102c9eec3795381546e (patch)
tree21455638923afdd90cde2c5afb992241bc02a129 /gpsfake
parent4420e443f2a70ade66dd1b05d521cdc1b525d3ca (diff)
downloadgpsd-52855f2f7da6d685bb2eb102c9eec3795381546e.tar.gz
Add option to avoid noise from the baton in batch-mode testing.
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsfake b/gpsfake
index bcfe7f46..8be191d7 100755
--- a/gpsfake
+++ b/gpsfake
@@ -138,6 +138,8 @@ def fakehook(linenumber, fakegps):
if progress:
baton = Baton("Processing %s" % logfile, "done")
+else:
+ print >>sys.stderr, "Processing %s" % logfile
test = gpsfake.TestSession(prefix=monitor, port=port, options=doptions, verbose=verbose, predump=predump)