Changeset 5bf1f3e for tests/pybin/settings.py
- Timestamp:
- Mar 26, 2019, 10:36:58 AM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1bb2488
- Parents:
- eb60b04
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/settings.py
reb60b04 r5bf1f3e 37 37 def __init__(self, arch): 38 38 try: 39 canonical_host = Architecture.make Canonical( config.HOSTARCH )39 canonical_host = Architecture.make_canonical( config.HOSTARCH ) 40 40 except KeyError: 41 41 print("Unkown host architecture %s" % config.HOSTARCH, file=sys.stderr) … … 44 44 if arch: 45 45 try: 46 arch = Architecture.make Canonical( arch )46 arch = Architecture.make_canonical( arch ) 47 47 except KeyError: 48 48 print("Unkown architecture %s" % arch, file=sys.stderr) … … 75 75 76 76 @classmethod 77 def make Canonical(_, arch):77 def make_canonical(_, arch): 78 78 return Architecture.KnownArchitectures[arch] 79 79 … … 110 110 global install 111 111 global timeout 112 global width112 global output_width 113 113 114 dry_run = options.dry_run115 generating = options.regenerate_expected116 make = 'make'117 debug 118 install = Install(options.install)119 arch = Architecture(options.arch)120 timeout = Timeouts(options.timeout, options.global_timeout)121 width= 24114 dry_run = options.dry_run 115 generating = options.regenerate_expected 116 make = 'make' 117 debug = Debug(options.debug) 118 install = Install(options.install) 119 arch = Architecture(options.arch) 120 timeout = Timeouts(options.timeout, options.global_timeout) 121 output_width = 24 122 122 123 123 124 def update MakeCmd(force, jobs):124 def update_make_cmd(force, jobs): 125 125 global make 126 126 … … 141 141 142 142 def prep_output(tests): 143 global width144 width = max(map(lambda t: len(t.target()), tests))143 global output_width 144 output_width = max(map(lambda t: len(t.target()), tests))
Note: See TracChangeset
for help on using the changeset viewer.