[libcxx-commits] [PATCH] D126478: [runtimes] Officially deprecate the legacy testing configuration system
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 27 10:17:13 PDT 2022
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG719bf2d9d9fd: [runtimes] Officially deprecate the legacy testing configuration system (authored by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126478/new/
https://reviews.llvm.org/D126478
Files:
libcxx/docs/ReleaseNotes.rst
libcxx/test/configs/legacy.cfg.in
libcxx/utils/ci/run-buildbot
libcxxabi/test/lit.site.cfg.in
libunwind/test/lit.site.cfg.in
Index: libunwind/test/lit.site.cfg.in
===================================================================
--- libunwind/test/lit.site.cfg.in
+++ libunwind/test/lit.site.cfg.in
@@ -56,3 +56,6 @@
configuration = libunwind.test.config.Configuration(lit_config, config)
configuration.configure()
configuration.print_config_info()
+
+lit_config.warning("This is a legacy testing configuration which will be removed in LLVM 16. "
+ "Please use one of the configurations in libunwind/test/configs or define your own.")
Index: libcxxabi/test/lit.site.cfg.in
===================================================================
--- libcxxabi/test/lit.site.cfg.in
+++ libcxxabi/test/lit.site.cfg.in
@@ -60,3 +60,6 @@
configuration = libcxxabi.test.config.Configuration(lit_config, config)
configuration.configure()
configuration.print_config_info()
+
+lit_config.warning("This is a legacy testing configuration which will be removed in LLVM 16. "
+ "Please use one of the configurations in libcxxabi/test/configs or define your own.")
Index: libcxx/utils/ci/run-buildbot
===================================================================
--- libcxx/utils/ci/run-buildbot
+++ libcxx/utils/ci/run-buildbot
@@ -462,7 +462,9 @@
;;
legacy-test-config)
clean
- generate-cmake -DLIBCXX_TEST_CONFIG="legacy.cfg.in"
+ generate-cmake -DLIBCXX_TEST_CONFIG="legacy.cfg.in" \
+ -DLIBCXXABI_TEST_CONFIG="${MONOREPO_ROOT}/libcxxabi/test/lit.site.cfg.in" \
+ -DLIBUNWIND_TEST_CONFIG="${MONOREPO_ROOT}/libunwind/test/lit.site.cfg.in"
check-runtimes
;;
legacy-project-build)
Index: libcxx/test/configs/legacy.cfg.in
===================================================================
--- libcxx/test/configs/legacy.cfg.in
+++ libcxx/test/configs/legacy.cfg.in
@@ -62,3 +62,6 @@
configuration = libcxx.test.config.Configuration(lit_config, config)
configuration.configure()
configuration.print_config_info()
+
+lit_config.warning("This is a legacy testing configuration which will be removed in LLVM 16. "
+ "Please use one of the configurations in libcxx/test/configs or define your own.")
Index: libcxx/docs/ReleaseNotes.rst
===================================================================
--- libcxx/docs/ReleaseNotes.rst
+++ libcxx/docs/ReleaseNotes.rst
@@ -148,7 +148,8 @@
its own headers.
- The legacy testing configuration is now deprecated and will be removed in the next release. For
- most users, this should not have any impact. However, if you are testing libc++ in a configuration
- or on a platform that used to be supported by the legacy testing configuration and isn't supported
- by one of the configurations in ``libcxx/test/configs``, please reach out to the libc++ developers
- to get your configuration supported officially.
+ most users, this should not have any impact. However, if you are testing libc++, libc++abi or
+ libunwind in a configuration or on a platform that used to be supported by the legacy testing
+ configuration and isn't supported by one of the configurations in ``libcxx/test/configs``,
+ ``libcxxabi/test/configs`` or ``libunwind/test/configs``, please move to one of those
+ configurations or define your own.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126478.432599.patch
Type: text/x-patch
Size: 3264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220527/e54360aa/attachment-0001.bin>
More information about the libcxx-commits
mailing list