diff tests/run-tests.py @ 28812:f1de5a612a74

run-tests: handle empty tests
author timeless <timeless@mozdev.org>
date Tue, 05 Apr 2016 04:26:20 +0000
parents 3bce3d2fd727
children c5565fc8848d
line wrap: on
line diff
--- a/tests/run-tests.py	Tue Jan 12 09:30:57 2016 +0000
+++ b/tests/run-tests.py	Tue Apr 05 04:26:20 2016 +0000
@@ -1058,6 +1058,7 @@
         if os.getenv('MSYSTEM'):
             script.append(b'alias pwd="pwd -W"\n')
 
+        n = 0
         for n, l in enumerate(lines):
             if not l.endswith(b'\n'):
                 l += b'\n'