Fixed test suite errors due to new clang -v output.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176546 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lldbtest.py b/test/lldbtest.py
index e62b2b7..f29d947 100644
--- a/test/lldbtest.py
+++ b/test/lldbtest.py
@@ -1024,11 +1024,7 @@
         compiler = self.getCompiler()
         version_output = system([which(compiler), "-v"])[1]
         for line in version_output.split(os.linesep):
-            compiler_shortname = 'invalid'
-            for c in ["clang", "LLVM", "gcc"]:
-              if c in compiler:
-                  compiler_shortname = c
-            m = re.search('%s version ([0-9\.]+)' % compiler_shortname, line)
+            m = re.search('version ([0-9\.]+)', line)
             if m:
                 version = m.group(1)
         return version