[libc++][test] Propagate host environment to libc++ test suite
authorMichał Górny <mgorny@moritz.systems>
Wed, 3 Aug 2022 01:52:25 +0000 (21:52 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 3 Aug 2022 01:53:03 +0000 (21:53 -0400)
commit39d4e169d35b59a39ad2fcfe1a568ba979079d83
tree1bd2dac0902d43eb90865f859430930bd4ad1714
parent495519e5f8232d144ed26e9c18dbcbac6a5f25eb
[libc++][test] Propagate host environment to libc++ test suite

Propagate the complete host environment to the tests run via the new
testconfig. This ensures that all envvars needed e.g. for the compiler
to work correctly are present. This mimics the behavior explicitly
implemented in the legacy config.

https://github.com/llvm/llvm-project/issues/56816

Differential Revision: https://reviews.llvm.org/D130843
libcxx/test/libcxx/selftest/dsl/dsl.sh.py
libcxx/utils/libcxx/test/newconfig.py