summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Bindings/Go/lit.local.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Bindings/Go/lit.local.cfg b/llvm/test/Bindings/Go/lit.local.cfg
index 0d894fded47..8158dd49e7f 100644
--- a/llvm/test/Bindings/Go/lit.local.cfg
+++ b/llvm/test/Bindings/Go/lit.local.cfg
@@ -36,14 +36,14 @@ def fixup_compiler_path(compiler):
try:
if path.endswith('/cc') and os.readlink(path) == 'clang':
args[0] = path[:len(path)-2] + 'clang'
- except OSError:
- skip
+ except AttributeError:
+ pass
try:
if path.endswith('/c++') and os.readlink(path) == 'clang++':
args[0] = path[:len(path)-3] + 'clang++'
- except OSError:
- skip
+ except AttributeError:
+ pass
return ' '.join([pipes.quote(arg) for arg in args])
OpenPOWER on IntegriCloud