aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNicolas Schneider <nioncode+git@gmail.com>2016-04-06 21:35:51 +0200
committerNicolas Schneider <nioncode+git@gmail.com>2016-04-06 21:35:51 +0200
commit5decddf09f47c9fddce91c6c3bb4b45dba084ef4 (patch)
tree24c7681317e601affd62be59d364dbf2351bdae6 /run_tests.py
parent32e0973ef1e502e22e3c848dad5279b4d58e044b (diff)
downloadmeson-5decddf09f47c9fddce91c6c3bb4b45dba084ef4.zip
meson-5decddf09f47c9fddce91c6c3bb4b45dba084ef4.tar.gz
meson-5decddf09f47c9fddce91c6c3bb4b45dba084ef4.tar.bz2
fix off by one, since range() does not include the end of the range
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index f8d6aa2..b23776c 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -58,7 +58,7 @@ class AutoDeletedDir():
shutil.rmtree(self.dir)
return
except OSError:
- if i == retries:
+ if i == retries-1:
raise
passing_tests = 0