[libc++] Allow picking Lit parameters from the config
authorLouis Dionne <ldionne@apple.com>
Tue, 9 Jun 2020 21:23:41 +0000 (17:23 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 10 Jun 2020 12:02:07 +0000 (08:02 -0400)
commit78e266efaba64fee2c527bfe5328af2088a3483f
tree13e75d744f1036dec6c8a854c1961791f72f13c4
parente4184c84ca0662c73780e94763e83ec245b5a2b0
[libc++] Allow picking Lit parameters from the config

Unlike parameters in litConfig.params, the config isn't shared across
all test suites. For example, if we want to enable exceptions in the
tests for libcxxabi, but not in the tests for libcxx, we can't set the
enable_exceptions parameter in the litConfig object, cause it will be
used by both. Instead, setting it inside the config object solves that
problem.
libcxx/test/libcxx/selftest/dsl/dsl.sh.py
libcxx/utils/libcxx/test/dsl.py