[libcxx] [test] Don't add dirs from the LIB env var to PATH
authorMartin Storsjö <martin@martin.st>
Wed, 24 Mar 2021 07:31:54 +0000 (09:31 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 31 Mar 2021 06:05:47 +0000 (09:05 +0300)
commit7acfd85756736b2e240cc3a4ffd56f26d73ace9e
tree9b5eef2f310aa304c0edf85deb1731bb611347bb
parent4a0a85becc9e19d288b5adcf713cb9e135c7f022
[libcxx] [test] Don't add dirs from the LIB env var to PATH

The directories in LIB normally only contain import libraries or
static libraries, no runtime DLLs that would need to be found
while running tests.

This code stems from 1cd196e7b46e49d170a4b4013879a577dee59cb2,
which (among other things) tried to do this:

> * [Test] Fix handling of library runtime search paths by correctly adding them
>   to the PATH variable when running the tests.

It's unclear to me exactly what this fixed (or tried to) at the time,
as the LIB var doesn't normally point to runtime libs.

Differential Revision: https://reviews.llvm.org/D99241
libcxx/utils/libcxx/test/config.py