summaryrefslogtreecommitdiff
path: root/test_maidenhead.py
diff options
context:
space:
mode:
authorBeat Bolli <bbolli@ewanet.ch>2011-05-07 17:41:16 +0200
committerEric S. Raymond <esr@thyrsus.com>2011-05-07 12:15:28 -0400
commit88b4ce3273b4dce449b10ba5ff39085c7738d670 (patch)
tree152513bfe558e117ddba001a6e2622c2339a72f8 /test_maidenhead.py
parent4b9be9bbe035aeb7e5cd7edd2a1adade1c8cb9c9 (diff)
downloadgpsd-88b4ce3273b4dce449b10ba5ff39085c7738d670.tar.gz
Count the errors in the maidenhead regression test driver
Diffstat (limited to 'test_maidenhead.py')
-rwxr-xr-xtest_maidenhead.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_maidenhead.py b/test_maidenhead.py
index 39010b62..b8496ae8 100755
--- a/test_maidenhead.py
+++ b/test_maidenhead.py
@@ -20,6 +20,7 @@ for (lat, lon, maidenhead, location) in [
if converted != maidenhead:
print >>sys.stderr, "maidenhead test: from %s %s (%s) expected %s got %s" \
% (lat, lon, location, maidenhead, converted)
+ errors += 1
else:
print "%s OK" % location