[PATCH] D58647: [compiler-rt] Provide better llvm-lit failure when llvm-config fails.
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 26 10:41:18 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL354907: [compiler-rt] Provide better llvm-lit failure when llvm-config fails. (authored by hctim, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D58647?vs=188261&id=188412#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58647/new/
https://reviews.llvm.org/D58647
Files:
compiler-rt/trunk/test/lit.common.cfg
Index: compiler-rt/trunk/test/lit.common.cfg
===================================================================
--- compiler-rt/trunk/test/lit.common.cfg
+++ compiler-rt/trunk/test/lit.common.cfg
@@ -389,7 +389,8 @@
stdout = subprocess.PIPE,
env=config.environment)
except OSError:
- print("Could not find llvm-config in " + config.llvm_tools_dir)
+ print("Could not launch llvm-config in " + config.llvm_tools_dir)
+ print(" Failed with error #{0}: {1}".format(e.errno, e.strerror))
exit(42)
if re.search(r'ON', llvm_config_cmd.stdout.read().decode('ascii')):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58647.188412.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190226/b7d928a1/attachment-0001.bin>
More information about the llvm-commits
mailing list