llvm.org GIT mirror llvm / 4229b95
[tests] Avoid deprecated except syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187928 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 6 years ago
2 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 import sys
1
2 ## Autogenerated by LLVM/Clang configuration.
13 # Do not edit!
24 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
1214 try:
1315 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
1416 config.llvm_build_mode = config.llvm_build_mode % lit.params
15 except KeyError,e:
17 except KeyError:
18 e = sys.exc_info()[1]
1619 key, = e.args
1720 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
1821
0 import sys
1
2 ## Autogenerated by LLVM/Clang configuration.
13 # Do not edit!
24 config.host_triple = "@LLVM_HOST_TRIPLE@"
2426 # used when we can't determine the tool dir at configuration time.
2527 try:
2628 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
27 except KeyError,e:
29 except KeyError:
30 e = sys.exc_info()[1]
2831 key, = e.args
2932 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
3033