Skip to content

Commit 6dcdb49

Browse files
committed
build-script-impl: Have LLDB honor -llvm-lit-args
1 parent 516e616 commit 6dcdb49

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

utils/build-presets.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ lldb-assertions
300300

301301
[preset: lldb-pull-request]
302302
lldb
303+
lit-args=-v
304+
303305
lldb-use-system-debugserver
304306
release-debuginfo
305307
test

utils/build-script-impl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,9 @@ function set_build_options_for_host() {
810810
swift_cmake_options+=(
811811
-DLLVM_LIT_ARGS="${LLVM_LIT_ARGS} -j ${LIT_JOBS}"
812812
)
813+
lldb_cmake_options+=(
814+
-DLLVM_LIT_ARGS="${LLVM_LIT_ARGS} -j ${LIT_JOBS}"
815+
)
813816

814817
if [[ "${CLANG_PROFILE_INSTR_USE}" ]]; then
815818
llvm_cmake_options+=(
@@ -2908,9 +2911,6 @@ for host in "${ALL_HOSTS[@]}"; do
29082911
LLVM_LIT_FILTER_ARG="${FILTER_SWIFT_OPTION}"
29092912
fi
29102913

2911-
# Record the times test took and report the slowest.
2912-
LLVM_LIT_ARGS="${LLVM_LIT_ARGS} -v --time-tests"
2913-
29142914
echo "--- Running LLDB unit tests ---"
29152915
with_pushd ${lldb_build_dir} \
29162916
call ${NINJA_BIN} -j ${BUILD_JOBS} unittests/LLDBUnitTests

0 commit comments

Comments
 (0)