diff --git a/tools/run_regression_tests.py b/tools/run_regression_tests.py index 4778c6828..98a1461ef 100644 --- a/tools/run_regression_tests.py +++ b/tools/run_regression_tests.py @@ -137,13 +137,16 @@ def loop(): print '\n\nREVISION %d ===\n' % r svn_up(r) - run_tests.main(sys.argv[1:]) - last_rev = r; + try: + run_tests.main(sys.argv[1:]) + last_rev = r; - # pop the revision we just completed - revs = revs[1:] + # pop the revision we just completed + revs = revs[1:] - open(rev_file, 'w+').write('%d' % last_rev) + open(rev_file, 'w+').write('%d' % last_rev) + except Exception, e: + print e if __name__ == "__main__": loop() diff --git a/tools/run_tests.py b/tools/run_tests.py index 69dab5339..30e4c6e47 100755 --- a/tools/run_tests.py +++ b/tools/run_tests.py @@ -331,7 +331,8 @@ def main(argv): # each file contains a full set of tests for one speific toolset and platform try: f = open(os.path.join(rev_dir, build_platform + '#' + toolset + '.json'), 'w+') - except IOError: + except IOError, e: + print e rev_dir = os.path.join(current_dir, 'regression_tests') try: os.mkdir(rev_dir) except: pass