1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

[llvm-exgesis][NFC] Do not pollute buildbots with messages when

the exegesis lit tests cannot run.

llvm-svn: 343110
This commit is contained in:
Clement Courbet 2018-09-26 13:58:26 +00:00
parent 19d022549d
commit d7b270e0be

View File

@ -21,7 +21,7 @@ else:
try: try:
with open(os.devnull, 'w') as quiet: with open(os.devnull, 'w') as quiet:
check_llvm_exegesis_result = subprocess.call( check_llvm_exegesis_result = subprocess.call(
[llvm_exegesis_exe, '-mode', 'uops', '-snippets-file', '/dev/null'], stdout=quiet) [llvm_exegesis_exe, '-mode', 'uops', '-snippets-file', '/dev/null'], stdout=quiet, stderr=quiet)
except OSError: except OSError:
print('could not exec llvm-exegesis') print('could not exec llvm-exegesis')
config.unsupported = True config.unsupported = True