We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b704f14 commit 77ab316Copy full SHA for 77ab316
benchmark/scripts/Benchmark_RuntimeLeaksRunner.in
@@ -94,7 +94,7 @@ class LeaksRunnerBenchmarkDriver(perf_test_driver.BenchmarkDriver):
94
raise RuntimeError("Expected one line of output")
95
if result != 0:
96
raise RuntimeError("Process segfaulted")
97
- except:
+ except Exception:
98
sys.stderr.write("Child Process Failed! (%s,%s)\n" % (
99
data['path'], data['test_name']))
100
sys.stderr.flush()
@@ -110,7 +110,7 @@ class LeaksRunnerBenchmarkDriver(perf_test_driver.BenchmarkDriver):
110
111
total_count = d['objc_count'] + d['swift_count']
112
return total_count
113
114
tmp = (data['path'], data['test_name'])
115
sys.stderr.write("Failed parse output! (%s,%s)\n" % tmp)
116
0 commit comments