[libcxx-commits] [libcxx] 840b94d - [libc++] Rename libstdc++ test parameters to allow setting them in LIBCXX_TEST_PARAMS
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 16 13:53:13 PST 2025
Author: Louis Dionne
Date: 2025-01-16T16:53:08-05:00
New Revision: 840b94dda39375ee6b3eb898d8db4ea10a5150d1
URL: https://github.com/llvm/llvm-project/commit/840b94dda39375ee6b3eb898d8db4ea10a5150d1
DIFF: https://github.com/llvm/llvm-project/commit/840b94dda39375ee6b3eb898d8db4ea10a5150d1.diff
LOG: [libc++] Rename libstdc++ test parameters to allow setting them in LIBCXX_TEST_PARAMS
Added:
Modified:
libcxx/test/configs/stdlib-libstdc++.cfg.in
Removed:
################################################################################
diff --git a/libcxx/test/configs/stdlib-libstdc++.cfg.in b/libcxx/test/configs/stdlib-libstdc++.cfg.in
index d89254ab47d6ab..b9672f038a7638 100644
--- a/libcxx/test/configs/stdlib-libstdc++.cfg.in
+++ b/libcxx/test/configs/stdlib-libstdc++.cfg.in
@@ -1,15 +1,15 @@
#
# This testing configuration runs the test suite using the libstdc++ Standard library.
#
-# The additional '--param libstdcxx-install-prefix=<PATH>', '--param libstdcxx-triple=<TRIPLE>' and
-# '--param libstdcxx-version=<VERSION>' lit parameters must be provided when invoking lit for the
+# The additional '--param libstdcxx_install_prefix=<PATH>', '--param libstdcxx_triple=<TRIPLE>' and
+# '--param libstdcxx_version=<VERSION>' lit parameters must be provided when invoking lit for the
# configuration to find the appropriate headers and library.
#
# For example:
#
-# $ ./libcxx/utils/libcxx-lit <BUILD> -sv libcxx/test/std --param libstdcxx-install-prefix=/opt/homebrew/Cellar/gcc/14.1.0_1 \
-# --param libstdcxx-version=14 \
-# --param libstdcxx-triple=aarch64-apple-darwin22
+# $ ./libcxx/utils/libcxx-lit <BUILD> -sv libcxx/test/std --param libstdcxx_install_prefix=/opt/homebrew/Cellar/gcc/14.1.0_1 \
+# --param libstdcxx_version=14 \
+# --param libstdcxx_triple=aarch64-apple-darwin22
#
lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
@@ -20,19 +20,19 @@ import libcxx.test.params, libcxx.test.config, libcxx.test.dsl
# Additional parameters for libstdc++
LIBSTDCXX_PARAMETERS = [
- libcxx.test.dsl.Parameter(name='libstdcxx-install-prefix', type=str,
+ libcxx.test.dsl.Parameter(name='libstdcxx_install_prefix', type=str,
actions=lambda path: [libcxx.test.dsl.AddSubstitution('%{libstdcxx-install-prefix}', path)],
help="""
The installation prefix where libstdc++ was installed. This is used to find the libstdc++ headers,
link against its built library, etc.
"""),
- libcxx.test.dsl.Parameter(name='libstdcxx-triple', type=str,
+ libcxx.test.dsl.Parameter(name='libstdcxx_triple', type=str,
actions=lambda triple: [libcxx.test.dsl.AddSubstitution('%{libstdcxx-triple}', triple)],
help="""
The target triple used for the target-specific include directory of libstdc++. This is used to find the
libstdc++ headers.
"""),
- libcxx.test.dsl.Parameter(name='libstdcxx-version', type=str,
+ libcxx.test.dsl.Parameter(name='libstdcxx_version', type=str,
actions=lambda version: [libcxx.test.dsl.AddSubstitution('%{libstdcxx-version}', version)],
help="""
The version of libstdc++. This is used to find the libstdc++ headers and library.
More information about the libcxx-commits
mailing list