[pypy-commit] benchmarks default: hacked. Got this error *once*, don't want to care
arigo
noreply at buildbot.pypy.org
Wed Sep 25 22:39:49 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r232:33e45da0c853
Date: 2013-09-25 22:39 +0200
http://bitbucket.org/pypy/benchmarks/changeset/33e45da0c853/
Log: hacked. Got this error *once*, don't want to care
diff --git a/unladen_swallow/perf.py b/unladen_swallow/perf.py
--- a/unladen_swallow/perf.py
+++ b/unladen_swallow/perf.py
@@ -676,7 +676,11 @@
print base_times
print "Changed:"
print changed_times
- raise Exception("length did not match")
+ # XXX <arigo> hacked. Got this error *once*, don't want to care
+ print "WARNING: length did not match"
+ l = min(len(base_times), len(changed_times))
+ base_times = base_times[:l]
+ changed_times = changed_times[:l]
if options.no_statistics:
return RawResult(base_times, changed_times)
if len(base_times) == 1:
More information about the pypy-commit
mailing list