Xcode: modify lldb-python-test-suite target to build inferiors with $(LLDB_PYTHON_TES...
authorTodd Fiala <todd.fiala@gmail.com>
Mon, 4 Apr 2016 17:15:57 +0000 (17:15 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Mon, 4 Apr 2016 17:15:57 +0000 (17:15 +0000)
$(LLDB_PYTHON_TESTSUITE_CC) defaults to the just-built clang.  Together
with changes to the zorg repo, this enables the Green Dragon LLDB OS X
Xcode-based builder to run the new TSAN LLDB tests.

llvm-svn: 265315

lldb/lldb.xcodeproj/project.pbxproj

index 6d4f94c..6acee3b 100644 (file)
 /* Begin PBXLegacyTarget section */
                2387551E1C24974600CCE8C3 /* lldb-python-test-suite */ = {
                        isa = PBXLegacyTarget;
-                       buildArgumentsString = "-u $(SRCROOT)/test/dotest.py --apple-sdk $(PLATFORM_NAME) --executable=$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lldb --results-formatter lldbsuite.test.xunit_formatter.XunitFormatter --results-file $(BUILD_DIR)/test-results.xml --rerun-all-issues --env TERM=vt100 -O--xpass=ignore";
+                       buildArgumentsString = "-u $(SRCROOT)/test/dotest.py --apple-sdk $(PLATFORM_NAME) --executable=$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/lldb -C $(LLDB_PYTHON_TESTSUITE_CC) --results-formatter lldbsuite.test.xunit_formatter.XunitFormatter --results-file $(BUILD_DIR)/test-results.xml --rerun-all-issues --env TERM=vt100 -O--xpass=ignore";
                        buildConfigurationList = 238755241C24974600CCE8C3 /* Build configuration list for PBXLegacyTarget "lldb-python-test-suite" */;
                        buildPhases = (
                        );
                                );
                                GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
                                GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+                               LLDB_PYTHON_TESTSUITE_CC = "$(LLVM_BUILD_DIR)/x86_64/bin/clang";
                                MTL_ENABLE_DEBUG_INFO = YES;
                                OTHER_CFLAGS = "";
                                OTHER_LDFLAGS = "";
                                );
                                GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
                                GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+                               LLDB_PYTHON_TESTSUITE_CC = "$(LLVM_BUILD_DIR)/x86_64/bin/clang";
                                MTL_ENABLE_DEBUG_INFO = YES;
                                OTHER_CFLAGS = "";
                                OTHER_LDFLAGS = "";
                                GCC_C_LANGUAGE_STANDARD = gnu99;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
                                GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+                               LLDB_PYTHON_TESTSUITE_CC = "$(LLVM_BUILD_DIR)/x86_64/bin/clang";
                                MTL_ENABLE_DEBUG_INFO = NO;
                                OTHER_CFLAGS = "";
                                OTHER_LDFLAGS = "";
                                GCC_C_LANGUAGE_STANDARD = gnu99;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
                                GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+                               LLDB_PYTHON_TESTSUITE_CC = "$(LLVM_BUILD_DIR)/x86_64/bin/clang";
                                MTL_ENABLE_DEBUG_INFO = NO;
                                OTHER_CFLAGS = "";
                                OTHER_LDFLAGS = "";