summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldbtest.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-12-03 00:16:59 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-12-03 00:16:59 +0000
commit5daa6de433d663293fea730ec12e3b04785de895 (patch)
tree4c4d944822d24a33490d90c01eefb6316b7eaa50 /lldb/test/lldbtest.py
parente03fe83d985c5ed73788f2eb95e4eb1cd2ea0ab0 (diff)
downloadbcm5719-llvm-5daa6de433d663293fea730ec12e3b04785de895.tar.gz
bcm5719-llvm-5daa6de433d663293fea730ec12e3b04785de895.zip
Let's also record the compiler version used for compiling the inferior into the session info
llvm-svn: 145732
Diffstat (limited to 'lldb/test/lldbtest.py')
-rw-r--r--lldb/test/lldbtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index a756b19efd9..1379a38faf3 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -779,6 +779,9 @@ class Base(unittest2.TestCase):
else:
benchmarks = False
+ # This records the compiler version used for the test.
+ system([self.getCompiler(), "-v"], sender=self)
+
dname = os.path.join(os.environ["LLDB_TEST"],
os.environ["LLDB_SESSION_DIRNAME"])
if not os.path.isdir(dname):
OpenPOWER on IntegriCloud