summaryrefslogtreecommitdiff
path: root/test/RegressTests.py
diff options
context:
space:
mode:
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 "):