[libcxx-commits] [PATCH] D81866: [libc++] Add from-scratch configuration files for the test suite

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 15 12:38:13 PDT 2020


ldionne added a comment.

This is a WIP example of how to specify custom config files for running the libc++ test suite. The intent is that such config files can be checked into the repository, representing how different vendors run the test suite. For example, it would make sense to me to have a configuration for running the test suite with MSVC's library or libstdc++.

For those wondering why I'm doing that:

1. The more people we have running the test suite, the more people have an incentive to contribute to it and improve it, which means I get to do less of that and more of other stuff :-)
2. Having different Lit config files is going to remove a lot of complexity from the CMake build, where we have crazy settings for things like "build the shared library but link the tests against the static library". This shouldn't be part of CMake, it should just be a matter of selecting the right testing configuration.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81866/new/

https://reviews.llvm.org/D81866





More information about the libcxx-commits mailing list