From 88b4ce3273b4dce449b10ba5ff39085c7738d670 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Sat, 7 May 2011 17:41:16 +0200 Subject: Count the errors in the maidenhead regression test driver --- test_maidenhead.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test_maidenhead.py') 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 -- cgit v1.2.1