[LNT] r335678 - Fix error in run_info
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 26 15:33:40 PDT 2018
Author: cmatthews
Date: Tue Jun 26 15:33:40 2018
New Revision: 335678
URL: http://llvm.org/viewvc/llvm-project?rev=335678&view=rev
Log:
Fix error in run_info
The builtin assembler as never accepeted -v. If we find that, lets
just mention we are using the builtin, instead of leaving a warning
int he run-info.
Modified:
lnt/trunk/lnt/testing/util/compilers.py
Modified: lnt/trunk/lnt/testing/util/compilers.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/testing/util/compilers.py?rev=335678&r1=335677&r2=335678&view=diff
==============================================================================
--- lnt/trunk/lnt/testing/util/compilers.py (original)
+++ lnt/trunk/lnt/testing/util/compilers.py Tue Jun 26 15:33:40 2018
@@ -39,6 +39,9 @@ def get_cc_info(path, cc_flags=[]):
cc_flags + ['-x', 'assembler', '/dev/null'],
include_stderr=True).strip()
+ if "clang: error: unsupported argument '-v'" in cc_as_version:
+ cc_as_version = "Clang built in."
+
# Determine the linker version, as found by the compiler.
tf = tempfile.NamedTemporaryFile(suffix='.c')
name = tf.name
More information about the llvm-commits
mailing list