summaryrefslogtreecommitdiff
path: root/test/RegressTests.py
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-12 11:15:03 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-15 14:53:16 +0100
commit01252035cdc23ff64a593471e0272e7bbe9b1786 (patch)
tree2076af66e543401ef56630b9bb178d532926f4f7 /test/RegressTests.py
parentd5c1e05a59c7c1ec4654710377920a51327b9c17 (diff)
downloadfork-ledger-01252035cdc23ff64a593471e0272e7bbe9b1786.tar.gz
fork-ledger-01252035cdc23ff64a593471e0272e7bbe9b1786.tar.bz2
fork-ledger-01252035cdc23ff64a593471e0272e7bbe9b1786.zip
[doc] Add CheckTests to ctest
to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net>
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-xtest/RegressTests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py
index 01e14191..0fef2127 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -57,6 +57,9 @@ class RegressFile(object):
in_error = False
line = self.fd.readline()
+ if not line:
+ print >>sys.stderr, "WARNING: Empty testfile detected: %s" % (self.filename)
+ return False
#print "line =", line
while line:
if line.startswith("test "):