diff options
author | Nicolas Schneider <nioncode+git@gmail.com> | 2016-04-06 21:35:51 +0200 |
---|---|---|
committer | Nicolas Schneider <nioncode+git@gmail.com> | 2016-04-06 21:35:51 +0200 |
commit | 5decddf09f47c9fddce91c6c3bb4b45dba084ef4 (patch) | |
tree | 24c7681317e601affd62be59d364dbf2351bdae6 /run_tests.py | |
parent | 32e0973ef1e502e22e3c848dad5279b4d58e044b (diff) | |
download | meson-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-x | run_tests.py | 2 |
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 |