Skip to content

Only rerun the API tests in dwarfimporter-only mode. #69723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions utils/build-script-impl
Original file line number Diff line number Diff line change
Expand Up @@ -2783,6 +2783,7 @@ for host in "${ALL_HOSTS[@]}"; do
fi

FILTER_SWIFT_OPTION="--filter=[sS]wift"
FILTER_SWIFT_API_OPTION="--filter=lang/swift"
LLVM_LIT_FILTER_ARG=""
if [[ "$(true_false ${LLDB_TEST_SWIFT_ONLY})" == "TRUE" ]]; then
LLVM_LIT_FILTER_ARG="${FILTER_SWIFT_OPTION}"
Expand All @@ -2798,11 +2799,11 @@ for host in "${ALL_HOSTS[@]}"; do
call "${llvm_build_dir}/bin/llvm-lit" \
"${lldb_build_dir}/test" \
${LLVM_LIT_ARGS} ${LLVM_LIT_FILTER_ARG}
echo "--- Rerun LLDB Swift tests (using only DWARFImporter) ---"
echo "--- Rerun LLDB Swift API tests (using only DWARFImporter) ---"
with_pushd ${results_dir} \
call "${llvm_build_dir}/bin/llvm-lit" \
"${lldb_build_dir}/test" \
${LLVM_LIT_ARGS} ${FILTER_SWIFT_OPTION} \
${LLVM_LIT_ARGS} ${FILTER_SWIFT_API_OPTION} \
--param dotest-args="--setting symbols.use-swift-clangimporter=false"

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