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.
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.")
;;
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)
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.")
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.")