summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index d74299f0882..e62b2b7105c 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -1025,7 +1025,7 @@ class Base(unittest2.TestCase):
version_output = system([which(compiler), "-v"])[1]
for line in version_output.split(os.linesep):
compiler_shortname = 'invalid'
- for c in ["clang", "gcc"]:
+ for c in ["clang", "LLVM", "gcc"]:
if c in compiler:
compiler_shortname = c
m = re.search('%s version ([0-9\.]+)' % compiler_shortname, line)
OpenPOWER on IntegriCloud