Skip to content

Commit 7fc48d8

Browse files
Merge pull request swiftlang#30303 from adrian-prantl/57880844
build-script: Rerun all lldb Swift tests with DWARFImporter.
2 parents a7470db + e676286 commit 7fc48d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

utils/build-script-impl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2351,14 +2351,23 @@ for host in "${ALL_HOSTS[@]}"; do
23512351
# Record the times test took and report the slowest.
23522352
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} -v --time-tests"
23532353

2354+
echo "--- Running LLDB unit tests ---"
23542355
with_pushd ${lldb_build_dir} \
23552356
call ${NINJA_BIN} -j ${BUILD_JOBS} unittests/LLDBUnitTests
2357+
echo "--- Running LLDB Swift tests (ClangImporter) ---"
23562358
with_pushd ${lldb_build_dir} \
23572359
call ${NINJA_BIN} -j ${BUILD_JOBS} lldb-test-deps
23582360
with_pushd ${results_dir} \
23592361
call "${llvm_build_dir}/bin/llvm-lit" \
23602362
"${lldb_build_dir}/test" \
23612363
${LLVM_LIT_ARGS}
2364+
# Rerun the tests with DWARFImporter only.
2365+
echo "--- Running LLDB Swift tests (DWARFImporter) ---"
2366+
with_pushd ${results_dir} \
2367+
call "${llvm_build_dir}/bin/llvm-lit" \
2368+
"${lldb_build_dir}/test" \
2369+
${LLVM_LIT_ARGS} \
2370+
--param dotest-args="--setting symbols.use-swift-clangimporter=false"
23622371

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

0 commit comments

Comments
 (0)