[Lldb-commits] [lldb] r138454 - in /lldb/trunk/test: make/Makefile.rules plugins/builder_base.py
Johnny Chen
johnny.chen at apple.com
Wed Aug 24 11:12:53 PDT 2011
Author: johnny
Date: Wed Aug 24 13:12:53 2011
New Revision: 138454
URL: http://llvm.org/viewvc/llvm-project?rev=138454&view=rev
Log:
The plugin impl of getCompiler() should be in unison with the Makefile.rules change.
Modified:
lldb/trunk/test/make/Makefile.rules
lldb/trunk/test/plugins/builder_base.py
Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=138454&r1=138453&r2=138454&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Wed Aug 24 13:12:53 2011
@@ -24,6 +24,11 @@
#----------------------------------------------------------------------
# CC defaults to clang.
+#
+# If you change the defaults of CC, be sure to also change it in the file
+# test/plugins/builder_base.py, which provides a Python way to return the
+# value of the make variable CC -- getCompiler().
+#
# See also these functions:
# o cxx_compiler
# o cxx_linker
Modified: lldb/trunk/test/plugins/builder_base.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/plugins/builder_base.py?rev=138454&r1=138453&r2=138454&view=diff
==============================================================================
--- lldb/trunk/test/plugins/builder_base.py (original)
+++ lldb/trunk/test/plugins/builder_base.py Wed Aug 24 13:12:53 2011
@@ -21,7 +21,7 @@
def getCompiler():
"""Returns the compiler in effect the test suite is running with."""
- return os.environ["CC"] if "CC" in os.environ else ""
+ return os.environ["CC"] if "CC" in os.environ else "clang"
def getArchSpec(architecture):
"""
More information about the lldb-commits
mailing list