Skip to content

Commit 20b8d3f

Browse files
authored
[libc++][CI] Replace LLDB test targets with libc++ test category (#110856)
We've been increasing the coverage of libc++ LLDB tests in the pre-merge CI (see #110570). Unfortunately the tests are spread across different targets. It would be great if we had a single target that libc++ maintainers could run. We do this by passing the `libc++` test-category as a parameter to LLDB's [`dotest` testing framework](https://lldb.llvm.org/resources/test.html). This will only run LLDB tests that have been marked as belonging to the `libc++` category.
1 parent 4d218ca commit 20b8d3f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

libcxx/utils/ci/run-buildbot

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,8 @@ bootstrapping-build)
371371
-DLLVM_LIT_ARGS="-sv --xunit-xml-output test-results.xml --timeout=1500 --time-tests"
372372

373373
echo "+++ Running the LLDB libc++ data formatter tests"
374-
${NINJA} -vC "${BUILD_DIR}" check-lldb-api-functionalities-data-formatter-data-formatter-stl-libcxx \
375-
check-lldb-api-functionalities-data-formatter-data-formatter-stl-generic \
376-
check-lldb-api-functionalities-data-formatter-data-formatter-stl-libcxx-simulators \
377-
check-lldb-api-commands-expression-import-std-module \
378-
check-lldb-api-lang-cpp-std-function-step-into-callable \
379-
check-lldb-api-lang-cpp-std-function-recognizer \
380-
check-lldb-api-lang-cpp-std-invoke-recognizer
381-
374+
${NINJA} -vC "${BUILD_DIR}" lldb-api-test-deps
375+
${BUILD_DIR}/bin/llvm-lit -sv --param dotest-args='--category libc++' "${MONOREPO_ROOT}/lldb/test/API"
382376

383377
echo "--- Running the libc++ and libc++abi tests"
384378
${NINJA} -vC "${BUILD_DIR}" check-runtimes

0 commit comments

Comments
 (0)