Skip to content

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Dec 6, 2024

It makes more sense to start testing libc++ with the latest compiler and only then to run the LLDB data formatter tests, since that provides more signal than starting with the data formatter tests.

@ldionne ldionne requested a review from a team as a code owner December 6, 2024 20:42
@ldionne ldionne requested review from Michael137 and removed request for a team December 6, 2024 20:42
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Dec 6, 2024
@llvmbot
Copy link
Member

llvmbot commented Dec 6, 2024

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

Changes

It makes more sense to start testing libc++ with the latest compiler and only then to run the LLDB data formatter tests, since that provides more signal than starting with the data formatter tests.


Full diff: https://github.com/llvm/llvm-project/pull/119028.diff

1 Files Affected:

  • (modified) libcxx/utils/ci/run-buildbot (+4-4)
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 3df7b00a8aa09d..a832380e16cd83 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -387,16 +387,16 @@ bootstrapping-build)
           -DLLVM_ENABLE_ASSERTIONS=ON \
           -DLLVM_LIT_ARGS="-sv --xunit-xml-output test-results.xml --timeout=1500 --time-tests"
 
-    step "Running the LLDB libc++ data formatter tests"
-    ${NINJA} -vC "${BUILD_DIR}" lldb-api-test-deps
-    ${BUILD_DIR}/bin/llvm-lit -sv --param dotest-args='--category libc++' "${MONOREPO_ROOT}/lldb/test/API"
-
     step "Running the libc++ and libc++abi tests"
     ${NINJA} -vC "${BUILD_DIR}" check-runtimes
 
     step "Installing libc++ and libc++abi to a fake location"
     ${NINJA} -vC "${BUILD_DIR}" install-runtimes
 
+    step "Running the LLDB libc++ data formatter tests"
+    ${NINJA} -vC "${BUILD_DIR}" lldb-api-test-deps
+    ${BUILD_DIR}/bin/llvm-lit -sv --param dotest-args='--category libc++' "${MONOREPO_ROOT}/lldb/test/API"
+
     ccache -s
 ;;
 generic-static)

@ldionne
Copy link
Member Author

ldionne commented Dec 6, 2024

CC @winner245: Trying to understand the cause of the ongoing CI issues with the bootstrapping build.

It makes more sense to start testing libc++ with the latest compiler
and only then to run the LLDB data formatter tests, since that provides
more signal than starting with the data formatter tests.
@ldionne ldionne force-pushed the review/run-lldb-data-formatter-tests-last branch from 4562ff2 to 726b145 Compare December 9, 2024 14:12
Copy link
Member

@Michael137 Michael137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed!

@ldionne ldionne merged commit c900954 into llvm:main Dec 9, 2024
60 of 63 checks passed
@ldionne ldionne deleted the review/run-lldb-data-formatter-tests-last branch December 9, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants