From 45161cb383651120852c24f0520ff979d682c3ab Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 17 Jun 2013 03:08:41 +0000 Subject: [PATCH] svn update failure is not fatal --- tools/run_regression_tests.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/run_regression_tests.py b/tools/run_regression_tests.py index d5b829da9..66edde9e2 100644 --- a/tools/run_regression_tests.py +++ b/tools/run_regression_tests.py @@ -6,6 +6,12 @@ import time import subprocess import sys +def indent(s): + s = string.split(s, '\n') + s = [(3 * ' ') + string.lstrip(line) for line in s] + s = string.join(s, '\n') + return s + # returns a list of new revisions def svn_fetch(last_rev): @@ -22,8 +28,8 @@ def svn_fetch(last_rev): output += l if revision == -1: - print '\n\nsvn update failed\n\n%s' % output - sys.exit(1) + print '\n\nsvn update failed\n\n%s' % indent(output) + return [] return range(last_rev + 1, revision + 1)