[libcxx-commits] [PATCH] D97565: [libc++] Use the minimal Lit configs to run tests in the CI

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 26 10:21:27 PST 2021


ldionne created this revision.
Herald added subscribers: jkorous, arichardson.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Eventually, this should become the default way of running the tests.
For now, only move the CI nodes to the minimal config.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97565

Files:
  libcxx/utils/ci/run-buildbot


Index: libcxx/utils/ci/run-buildbot
===================================================================
--- libcxx/utils/ci/run-buildbot
+++ libcxx/utils/ci/run-buildbot
@@ -79,6 +79,7 @@
           -DLLVM_ENABLE_PROJECTS="libcxx;libunwind;libcxxabi" \
           -DLLVM_LIT_ARGS="-sv --show-unsupported --xunit-xml-output test-results.xml" \
           -DLIBCXX_CXX_ABI=libcxxabi \
+          -DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in" \
           "${@}"
 }
 
@@ -301,9 +302,12 @@
 
     export CC=clang
     export CXX=clang++
+    # TODO: In the future, we should create a minimal testing config for back-deployment
+    #       and use that instead of the legacy config.
     generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \
                    -DLIBCXX_TEST_PARAMS="${PARAMS}" \
-                   -DLIBCXXABI_TEST_PARAMS="${PARAMS}"
+                   -DLIBCXXABI_TEST_PARAMS="${PARAMS}" \
+                   -DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/legacy.cfg.in" \
 
     # TODO: Also run the libc++abi tests
     echo "+++ Running the libc++ tests"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97565.326736.patch
Type: text/x-patch
Size: 1146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210226/f5cb8f94/attachment.bin>


More information about the libcxx-commits mailing list