changeset 18565:ba5e71770db2

run-tests: do not fail on empty tsttest file Initialize n for not failing on empty tsttest files.
author Simon Heimberg <simohe@besonet.ch>
date Wed, 24 Oct 2012 23:09:31 +0200
parents 2fefd1170bf2
children 341868ef0cf6
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Wed Feb 06 14:43:29 2013 -0600
+++ b/tests/run-tests.py	Wed Oct 24 23:09:31 2012 +0200
@@ -622,6 +622,7 @@
         script.append('set -x\n')
     if os.getenv('MSYSTEM'):
         script.append('alias pwd="pwd -W"\n')
+    n = 0
     for n, l in enumerate(t):
         if not l.endswith('\n'):
             l += '\n'