x11: Call XInitThreads()
[platform/upstream/VK-GL-CTS.git] / scripts / src_util / check_whitespace.py
index 7d079bf..876e57e 100644 (file)
@@ -34,6 +34,9 @@ def checkFileWhitespace (file):
         if " \t" in line:
             error = True
             print "%s:%i merged <space><tab>" % (file, lineNum+1)
+        if line.endswith("\r") or line.endswith("\r\n"):
+            error = True
+            print "%s:%i incorrect line ending" % (file, lineNum+1)
     f.close()
 
     return not error