aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNicolas Schneider <nioncode+git@gmail.com>2016-04-06 21:39:51 +0200
committerNicolas Schneider <nioncode+git@gmail.com>2016-04-06 21:39:51 +0200
commit435700aeb00d9267b027801b688d677ccdc93903 (patch)
treea6719e37765765a2988601391e3778553555cb66 /run_tests.py
parent5decddf09f47c9fddce91c6c3bb4b45dba084ef4 (diff)
downloadmeson-435700aeb00d9267b027801b688d677ccdc93903.zip
meson-435700aeb00d9267b027801b688d677ccdc93903.tar.gz
meson-435700aeb00d9267b027801b688d677ccdc93903.tar.bz2
add exponential backoff for deleting temp directories
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index b23776c..556a0a5 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -60,6 +60,7 @@ class AutoDeletedDir():
except OSError:
if i == retries-1:
raise
+ time.sleep(0.1 * (2**i))
passing_tests = 0
failing_tests = 0