Skip to content

Commit d3f6ca5

Browse files
committed
Extend the LLDB test matrix to support precise compiler invocations.
1 parent 0974cf3 commit d3f6ca5

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
@@ -2792,19 +2792,31 @@ for host in "${ALL_HOSTS[@]}"; do
27922792
echo "--- Running LLDB unit tests ---"
27932793
with_pushd ${lldb_build_dir} \
27942794
call ${NINJA_BIN} -j ${BUILD_JOBS} unittests/LLDBUnitTests
2795-
echo "--- Running LLDB tests (Swift tests using ClangImporter) ---"
2795+
echo "--- Running LLDB tests (Swift Config: Classic/ClangImporter) ---"
27962796
with_pushd ${lldb_build_dir} \
27972797
call ${NINJA_BIN} -j ${BUILD_JOBS} lldb-test-deps
27982798
with_pushd ${results_dir} \
27992799
call "${llvm_build_dir}/bin/llvm-lit" \
28002800
"${lldb_build_dir}/test" \
28012801
${LLVM_LIT_ARGS} ${LLVM_LIT_FILTER_ARG}
2802-
echo "--- Rerun LLDB Swift API tests (using only DWARFImporter) ---"
2802+
echo "--- Rerun LLDB Swift API tests (Swift Config: Classic/DWARFImporter) ---"
28032803
with_pushd ${results_dir} \
28042804
call "${llvm_build_dir}/bin/llvm-lit" \
28052805
"${lldb_build_dir}/test" \
28062806
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
28072807
--param dotest-args="--setting symbols.use-swift-clangimporter=false"
2808+
echo "--- Rerun LLDB Swift API tests (Swift Config: Precise/ClangImporter) ---"
2809+
with_pushd ${results_dir} \
2810+
call "${llvm_build_dir}/bin/llvm-lit" \
2811+
"${lldb_build_dir}/test" \
2812+
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
2813+
--param dotest-args="--setting symbols.use-swift-clangimporter=true --setting symbols.swift-precise-compiler-invocation=true"
2814+
echo "--- Rerun LLDB Swift API tests (Swift Config: Precise/DWARFImporter) ---"
2815+
with_pushd ${results_dir} \
2816+
call "${llvm_build_dir}/bin/llvm-lit" \
2817+
"${lldb_build_dir}/test" \
2818+
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
2819+
--param dotest-args="--setting symbols.use-swift-clangimporter=false --setting symbols.swift-precise-compiler-invocation=true"
28082820

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

0 commit comments

Comments
 (0)