Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: tools/foozzie/v8_foozzie.py

Issue 2647493004: [foozzie] Use correct ignition baseline (Closed)
Patch Set: Clean up other configs Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 the V8 project authors. All rights reserved. 2 # Copyright 2016 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """ 6 """
7 V8 correctness fuzzer launcher script. 7 V8 correctness fuzzer launcher script.
8 """ 8 """
9 9
10 import argparse 10 import argparse
11 import hashlib 11 import hashlib
12 import itertools 12 import itertools
13 import json 13 import json
14 import os 14 import os
15 import re 15 import re
16 import sys 16 import sys
17 import traceback 17 import traceback
18 18
19 import v8_commands 19 import v8_commands
20 import v8_suppressions 20 import v8_suppressions
21 21
22 CONFIGS = dict( 22 CONFIGS = dict(
23 default=[], 23 default=['--validate-asm'],
24 validate_asm=['--validate-asm'], # Maybe add , '--disable-asm-warnings' 24 fullcode=['--nocrankshaft', '--turbo-filter=~', '--validate-asm'],
25 fullcode=['--nocrankshaft', '--turbo-filter=~', '--novalidate-asm'],
26 noturbo=['--turbo-filter=~', '--noturbo-asm'],
27 noturbo_opt=['--always-opt', '--turbo-filter=~', '--noturbo-asm'],
28 ignition=['--ignition', '--turbo-filter=~', '--hydrogen-filter=~', 25 ignition=['--ignition', '--turbo-filter=~', '--hydrogen-filter=~',
29 '--novalidate-asm'], 26 '--validate-asm', '--nocrankshaft'],
30 ignition_staging=['--ignition-staging', '--novalidate-asm'], 27 ignition_staging=['--ignition-staging', '--validate-asm'],
31 ignition_turbo=['--ignition-staging', '--turbo', '--novalidate-asm'], 28 ignition_turbo=['--ignition-staging', '--turbo', '--validate-asm'],
32 ignition_turbo_opt=['--ignition-staging', '--turbo', '--always-opt', 29 ignition_turbo_opt=['--ignition-staging', '--turbo', '--always-opt',
33 '--novalidate-asm'], 30 '--validate-asm'],
34 ) 31 )
35 32
36 # Timeout in seconds for one d8 run. 33 # Timeout in seconds for one d8 run.
37 TIMEOUT = 3 34 TIMEOUT = 3
38 35
39 # Return codes. 36 # Return codes.
40 RETURN_PASS = 0 37 RETURN_PASS = 0
41 RETURN_FAIL = 2 38 RETURN_FAIL = 2
42 39
43 BASE_PATH = os.path.dirname(os.path.abspath(__file__)) 40 BASE_PATH = os.path.dirname(os.path.abspath(__file__))
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 configs='', source_key='', suppression='wrong_usage') 290 configs='', source_key='', suppression='wrong_usage')
294 result = RETURN_FAIL 291 result = RETURN_FAIL
295 except Exception as e: 292 except Exception as e:
296 print FAILURE_HEADER_TEMPLATE % dict( 293 print FAILURE_HEADER_TEMPLATE % dict(
297 configs='', source_key='', suppression='internal_error') 294 configs='', source_key='', suppression='internal_error')
298 print '# Internal error: %s' % e 295 print '# Internal error: %s' % e
299 traceback.print_exc(file=sys.stdout) 296 traceback.print_exc(file=sys.stdout)
300 result = RETURN_FAIL 297 result = RETURN_FAIL
301 298
302 sys.exit(result) 299 sys.exit(result)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698