When an asmjs benchmark fails, continue to the next one.
This commit is contained in:
Родитель
eee684fcf3
Коммит
5f4d4b09ed
|
@ -151,9 +151,12 @@ def BenchmarkJavaScript(options, args):
|
|||
# Don't overwrite args!
|
||||
argv = [] + args
|
||||
argv.extend(['run.js', '--', benchmark.name + '.js', str(factor)])
|
||||
t = Exec(argv)
|
||||
t = t.strip()
|
||||
print(benchmark.name + '-workload' + str(factor) + ' - ' + t)
|
||||
try:
|
||||
t = Exec(argv)
|
||||
t = t.strip()
|
||||
print(benchmark.name + '-workload' + str(factor) + ' - ' + t)
|
||||
except Exception as e:
|
||||
print('Exception when running ' + benchmark.name + ': ' + str(e))
|
||||
|
||||
def main(argv):
|
||||
parser = OptionParser()
|
||||
|
|
|
@ -60,9 +60,12 @@ def BenchmarkJavaScript(options, args):
|
|||
# Don't overwrite args!
|
||||
argv = [] + args
|
||||
argv.extend(['ubench.js', '--', benchmark + '.js', RunFactor])
|
||||
t = Exec(argv)
|
||||
t = t.strip()
|
||||
print(benchmark + ' - ' + t)
|
||||
try:
|
||||
t = Exec(argv)
|
||||
t = t.strip()
|
||||
print(benchmark + ' - ' + t)
|
||||
except Exception as e:
|
||||
print('Exception when running ' + benchmark.name + ': ' + str(e))
|
||||
|
||||
def main(argv):
|
||||
parser = OptionParser()
|
||||
|
|
Загрузка…
Ссылка в новой задаче