Skip to content

Commit c6cceaf

Browse files
committed
Only rerun the API tests in dwarfimporter-only mode.
This removes >70 tests from the list of tests that are being rerun. The REPL doesn't really benefit from DWARFImporter, since there is no deb ug info in the victim process, so it makes no sense to test this configuration.
1 parent 68910da commit c6cceaf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/build-script-impl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2783,6 +2783,7 @@ for host in "${ALL_HOSTS[@]}"; do
27832783
fi
27842784

27852785
FILTER_SWIFT_OPTION="--filter=[sS]wift"
2786+
FILTER_SWIFT_API_OPTION="--filter=lang/swift"
27862787
LLVM_LIT_FILTER_ARG=""
27872788
if [[ "$(true_false ${LLDB_TEST_SWIFT_ONLY})" == "TRUE" ]]; then
27882789
LLVM_LIT_FILTER_ARG="${FILTER_SWIFT_OPTION}"
@@ -2798,11 +2799,11 @@ for host in "${ALL_HOSTS[@]}"; do
27982799
call "${llvm_build_dir}/bin/llvm-lit" \
27992800
"${lldb_build_dir}/test" \
28002801
${LLVM_LIT_ARGS} ${LLVM_LIT_FILTER_ARG}
2801-
echo "--- Rerun LLDB Swift tests (using only DWARFImporter) ---"
2802+
echo "--- Rerun LLDB Swift API tests (using only DWARFImporter) ---"
28022803
with_pushd ${results_dir} \
28032804
call "${llvm_build_dir}/bin/llvm-lit" \
28042805
"${lldb_build_dir}/test" \
2805-
${LLVM_LIT_ARGS} ${FILTER_SWIFT_OPTION} \
2806+
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
28062807
--param dotest-args="--setting symbols.use-swift-clangimporter=false"
28072808

28082809
if [[ -x "${LLDB_TEST_SWIFT_COMPATIBILITY}" ]] ; then

0 commit comments

Comments
 (0)