From 01252035cdc23ff64a593471e0272e7bbe9b1786 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 12 Jan 2015 11:15:03 +0100 Subject: [doc] Add CheckTests to ctest to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt --- test/RegressTests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/RegressTests.py') 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 "): -- cgit v1.2.3