Skip to content

Commit 71bbe17

Browse files
Merge pull request #69679 from adrian-prantl/precise-compiler-invocation
Extend the LLDB test matrix to support precise compiler invocations.
2 parents dc43a44 + d3f6ca5 commit 71bbe17

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

utils/build-script-impl

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2794,19 +2794,31 @@ for host in "${ALL_HOSTS[@]}"; do
27942794
echo "--- Running LLDB unit tests ---"
27952795
with_pushd ${lldb_build_dir} \
27962796
call ${NINJA_BIN} -j ${BUILD_JOBS} unittests/LLDBUnitTests
2797-
echo "--- Running LLDB tests (Swift tests using ClangImporter) ---"
2797+
echo "--- Running LLDB tests (Swift Config: Classic/ClangImporter) ---"
27982798
with_pushd ${lldb_build_dir} \
27992799
call ${NINJA_BIN} -j ${BUILD_JOBS} lldb-test-deps
28002800
with_pushd ${results_dir} \
28012801
call "${llvm_build_dir}/bin/llvm-lit" \
28022802
"${lldb_build_dir}/test" \
28032803
${LLVM_LIT_ARGS} ${LLVM_LIT_FILTER_ARG}
2804-
echo "--- Rerun LLDB Swift API tests (using only DWARFImporter) ---"
2804+
echo "--- Rerun LLDB Swift API tests (Swift Config: Classic/DWARFImporter) ---"
28052805
with_pushd ${results_dir} \
28062806
call "${llvm_build_dir}/bin/llvm-lit" \
28072807
"${lldb_build_dir}/test" \
28082808
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
28092809
--param dotest-args="--setting symbols.use-swift-clangimporter=false"
2810+
echo "--- Rerun LLDB Swift API tests (Swift Config: Precise/ClangImporter) ---"
2811+
with_pushd ${results_dir} \
2812+
call "${llvm_build_dir}/bin/llvm-lit" \
2813+
"${lldb_build_dir}/test" \
2814+
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
2815+
--param dotest-args="--setting symbols.use-swift-clangimporter=true --setting symbols.swift-precise-compiler-invocation=true"
2816+
echo "--- Rerun LLDB Swift API tests (Swift Config: Precise/DWARFImporter) ---"
2817+
with_pushd ${results_dir} \
2818+
call "${llvm_build_dir}/bin/llvm-lit" \
2819+
"${lldb_build_dir}/test" \
2820+
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
2821+
--param dotest-args="--setting symbols.use-swift-clangimporter=false --setting symbols.swift-precise-compiler-invocation=true"
28102822

28112823
if [[ -x "${LLDB_TEST_SWIFT_COMPATIBILITY}" ]] ; then
28122824
echo "Running LLDB swift compatibility tests against" \

0 commit comments

Comments
 (0)