[all-commits] [llvm/llvm-project] b173c1: [libc++] Make libcxx/selftest a top-level test dir...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Jul 2 12:47:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b173c12b545462546cfdd5e2e1e8c88e6bcc2c65
      https://github.com/llvm/llvm-project/commit/b173c12b545462546cfdd5e2e1e8c88e6bcc2c65
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    R libcxx/test/libcxx/selftest/additional_compile_flags/conditional-compile-flags.sh.cpp
    R libcxx/test/libcxx/selftest/additional_compile_flags/lit.local.cfg
    R libcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-compile-flags.sh.cpp
    R libcxx/test/libcxx/selftest/additional_compile_flags/substitutes-in-run.sh.cpp
    R libcxx/test/libcxx/selftest/compile.fail.cpp/compile-error.compile.fail.cpp
    R libcxx/test/libcxx/selftest/compile.fail.cpp/compile-success.compile.fail.cpp
    R libcxx/test/libcxx/selftest/compile.pass.cpp/compile-error.compile.pass.cpp
    R libcxx/test/libcxx/selftest/compile.pass.cpp/compile-success.compile.pass.cpp
    R libcxx/test/libcxx/selftest/compile.pass.cpp/link-error.compile.pass.cpp
    R libcxx/test/libcxx/selftest/compile.pass.cpp/run-error.compile.pass.cpp
    R libcxx/test/libcxx/selftest/compile.pass.mm/compile-error.compile.pass.mm
    R libcxx/test/libcxx/selftest/compile.pass.mm/compile-success.compile.pass.mm
    R libcxx/test/libcxx/selftest/compile.pass.mm/link-error.compile.pass.mm
    R libcxx/test/libcxx/selftest/compile.pass.mm/run-error.compile.pass.mm
    R libcxx/test/libcxx/selftest/convenience_substitutions/build_run.sh.cpp
    R libcxx/test/libcxx/selftest/convenience_substitutions/verify.sh.cpp
    R libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    R libcxx/test/libcxx/selftest/dsl/lit.local.cfg
    R libcxx/test/libcxx/selftest/file_dependencies/a.txt
    R libcxx/test/libcxx/selftest/file_dependencies/absolute-and-relative-paths.sh.cpp
    R libcxx/test/libcxx/selftest/file_dependencies/dir/b.txt
    R libcxx/test/libcxx/selftest/file_dependencies/substitute-in-dependencies.sh.cpp
    R libcxx/test/libcxx/selftest/gen.cpp/empty.gen.cpp
    R libcxx/test/libcxx/selftest/gen.cpp/one.gen.cpp
    R libcxx/test/libcxx/selftest/gen.cpp/two.gen.cpp
    R libcxx/test/libcxx/selftest/link.fail.cpp/compile-error.link.fail.cpp
    R libcxx/test/libcxx/selftest/link.fail.cpp/link-error.link.fail.cpp
    R libcxx/test/libcxx/selftest/link.fail.cpp/link-success.link.fail.cpp
    R libcxx/test/libcxx/selftest/link.pass.cpp/compile-error.link.pass.cpp
    R libcxx/test/libcxx/selftest/link.pass.cpp/link-error.link.pass.cpp
    R libcxx/test/libcxx/selftest/link.pass.cpp/link-success.link.pass.cpp
    R libcxx/test/libcxx/selftest/link.pass.cpp/run-error.link.pass.cpp
    R libcxx/test/libcxx/selftest/link.pass.mm/compile-error.link.pass.mm
    R libcxx/test/libcxx/selftest/link.pass.mm/link-error.link.pass.mm
    R libcxx/test/libcxx/selftest/link.pass.mm/link-success.link.pass.mm
    R libcxx/test/libcxx/selftest/link.pass.mm/run-error.link.pass.mm
    R libcxx/test/libcxx/selftest/modules/no-modules.sh.cpp
    R libcxx/test/libcxx/selftest/modules/std-and-std.compat-module.sh.cpp
    R libcxx/test/libcxx/selftest/modules/std-module.sh.cpp
    R libcxx/test/libcxx/selftest/modules/std.compat-module.sh.cpp
    R libcxx/test/libcxx/selftest/pass.cpp/compile-error.pass.cpp
    R libcxx/test/libcxx/selftest/pass.cpp/link-error.pass.cpp
    R libcxx/test/libcxx/selftest/pass.cpp/run-error.pass.cpp
    R libcxx/test/libcxx/selftest/pass.cpp/run-success.pass.cpp
    R libcxx/test/libcxx/selftest/pass.cpp/werror.pass.cpp
    R libcxx/test/libcxx/selftest/pass.mm/compile-error.pass.mm
    R libcxx/test/libcxx/selftest/pass.mm/link-error.pass.mm
    R libcxx/test/libcxx/selftest/pass.mm/no-arc.pass.mm
    R libcxx/test/libcxx/selftest/pass.mm/run-error.pass.mm
    R libcxx/test/libcxx/selftest/pass.mm/run-success.pass.mm
    R libcxx/test/libcxx/selftest/pass.mm/use-objective-cxx.pass.mm
    R libcxx/test/libcxx/selftest/remote-substitutions.sh.cpp
    R libcxx/test/libcxx/selftest/sh.cpp/run-error.sh.cpp
    R libcxx/test/libcxx/selftest/sh.cpp/run-success.sh.cpp
    R libcxx/test/libcxx/selftest/sh.cpp/substitutions.sh.cpp
    R libcxx/test/libcxx/selftest/sh.cpp/werror.sh.cpp
    R libcxx/test/libcxx/selftest/shell-no-escape-builtins.sh.cpp
    R libcxx/test/libcxx/selftest/stdin-is-piped.sh.cpp
    R libcxx/test/libcxx/selftest/test_macros.pass.cpp
    R libcxx/test/libcxx/selftest/tmpdir-exists.sh.cpp
    R libcxx/test/libcxx/selftest/verify.cpp/no-diagnostics-unmarked.verify.cpp
    R libcxx/test/libcxx/selftest/verify.cpp/no-diagnostics.verify.cpp
    R libcxx/test/libcxx/selftest/verify.cpp/no-werror.verify.cpp
    R libcxx/test/libcxx/selftest/verify.cpp/right-diagnostic.verify.cpp
    R libcxx/test/libcxx/selftest/verify.cpp/wrong-diagnostic.verify.cpp
    A libcxx/test/selftest/additional_compile_flags/conditional-compile-flags.sh.cpp
    A libcxx/test/selftest/additional_compile_flags/lit.local.cfg
    A libcxx/test/selftest/additional_compile_flags/substitutes-in-compile-flags.sh.cpp
    A libcxx/test/selftest/additional_compile_flags/substitutes-in-run.sh.cpp
    A libcxx/test/selftest/compile.fail.cpp/compile-error.compile.fail.cpp
    A libcxx/test/selftest/compile.fail.cpp/compile-success.compile.fail.cpp
    A libcxx/test/selftest/compile.pass.cpp/compile-error.compile.pass.cpp
    A libcxx/test/selftest/compile.pass.cpp/compile-success.compile.pass.cpp
    A libcxx/test/selftest/compile.pass.cpp/link-error.compile.pass.cpp
    A libcxx/test/selftest/compile.pass.cpp/run-error.compile.pass.cpp
    A libcxx/test/selftest/compile.pass.mm/compile-error.compile.pass.mm
    A libcxx/test/selftest/compile.pass.mm/compile-success.compile.pass.mm
    A libcxx/test/selftest/compile.pass.mm/link-error.compile.pass.mm
    A libcxx/test/selftest/compile.pass.mm/run-error.compile.pass.mm
    A libcxx/test/selftest/convenience_substitutions/build_run.sh.cpp
    A libcxx/test/selftest/convenience_substitutions/verify.sh.cpp
    A libcxx/test/selftest/dsl/dsl.sh.py
    A libcxx/test/selftest/dsl/lit.local.cfg
    A libcxx/test/selftest/file_dependencies/a.txt
    A libcxx/test/selftest/file_dependencies/absolute-and-relative-paths.sh.cpp
    A libcxx/test/selftest/file_dependencies/dir/b.txt
    A libcxx/test/selftest/file_dependencies/substitute-in-dependencies.sh.cpp
    A libcxx/test/selftest/gen.cpp/empty.gen.cpp
    A libcxx/test/selftest/gen.cpp/one.gen.cpp
    A libcxx/test/selftest/gen.cpp/two.gen.cpp
    A libcxx/test/selftest/link.fail.cpp/compile-error.link.fail.cpp
    A libcxx/test/selftest/link.fail.cpp/link-error.link.fail.cpp
    A libcxx/test/selftest/link.fail.cpp/link-success.link.fail.cpp
    A libcxx/test/selftest/link.pass.cpp/compile-error.link.pass.cpp
    A libcxx/test/selftest/link.pass.cpp/link-error.link.pass.cpp
    A libcxx/test/selftest/link.pass.cpp/link-success.link.pass.cpp
    A libcxx/test/selftest/link.pass.cpp/run-error.link.pass.cpp
    A libcxx/test/selftest/link.pass.mm/compile-error.link.pass.mm
    A libcxx/test/selftest/link.pass.mm/link-error.link.pass.mm
    A libcxx/test/selftest/link.pass.mm/link-success.link.pass.mm
    A libcxx/test/selftest/link.pass.mm/run-error.link.pass.mm
    A libcxx/test/selftest/lit.local.cfg
    A libcxx/test/selftest/modules/no-modules.sh.cpp
    A libcxx/test/selftest/modules/std-and-std.compat-module.sh.cpp
    A libcxx/test/selftest/modules/std-module.sh.cpp
    A libcxx/test/selftest/modules/std.compat-module.sh.cpp
    A libcxx/test/selftest/pass.cpp/compile-error.pass.cpp
    A libcxx/test/selftest/pass.cpp/link-error.pass.cpp
    A libcxx/test/selftest/pass.cpp/run-error.pass.cpp
    A libcxx/test/selftest/pass.cpp/run-success.pass.cpp
    A libcxx/test/selftest/pass.cpp/werror.pass.cpp
    A libcxx/test/selftest/pass.mm/compile-error.pass.mm
    A libcxx/test/selftest/pass.mm/link-error.pass.mm
    A libcxx/test/selftest/pass.mm/no-arc.pass.mm
    A libcxx/test/selftest/pass.mm/run-error.pass.mm
    A libcxx/test/selftest/pass.mm/run-success.pass.mm
    A libcxx/test/selftest/pass.mm/use-objective-cxx.pass.mm
    A libcxx/test/selftest/remote-substitutions.sh.cpp
    A libcxx/test/selftest/sh.cpp/run-error.sh.cpp
    A libcxx/test/selftest/sh.cpp/run-success.sh.cpp
    A libcxx/test/selftest/sh.cpp/substitutions.sh.cpp
    A libcxx/test/selftest/sh.cpp/werror.sh.cpp
    A libcxx/test/selftest/shell-no-escape-builtins.sh.cpp
    A libcxx/test/selftest/stdin-is-piped.sh.cpp
    A libcxx/test/selftest/test_macros.pass.cpp
    A libcxx/test/selftest/tmpdir-exists.sh.cpp
    A libcxx/test/selftest/verify.cpp/no-diagnostics-unmarked.verify.cpp
    A libcxx/test/selftest/verify.cpp/no-diagnostics.verify.cpp
    A libcxx/test/selftest/verify.cpp/no-werror.verify.cpp
    A libcxx/test/selftest/verify.cpp/right-diagnostic.verify.cpp
    A libcxx/test/selftest/verify.cpp/wrong-diagnostic.verify.cpp

  Log Message:
  -----------
  [libc++] Make libcxx/selftest a top-level test directory (#144852)

These tests aren't actually libc++-specific for the most part. They test
the testsuite, so they aren't tied to any implementation. That means
anybody using the testsuite should be able to run these tests
successfully.

The most notable changes are that
- `test/libcxx/selftest/modules` moved to `test/libcxx/modules`, since
the assumptions these tests check are libc++-specific
- there is a new `lit.local.cfg` for `test/selftest`
- `selftest/dsl/dsl.sh.py` was modified since the path to the monorepo
root changed



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list