llvm-capstone/libcxx
Martin Storsjö ba3bddb6f4 [libcxx] [test] Prepend to PATH instead of overriding it
On Windows, the PATH env variable is used for locating dynamically
linked librarys, akin to LD_LIBRARY_PATH on Linux.

The tests that run with a dynamically linked libc++ used "--env
PATH=%{lib}" in the test config. This had the unfortunate side effect
of making other tools from PATH unavailable during the runtime of the
tests; in particular, it caused the "executor-has-no-bash" flag to be
set for all those Windows test configs (with the clang-cl static config
being the only one lacking it).

Thus, this increases the number of tests actually included in the
clang-cl dll and all mingw test configs by 9 tests.

The clang-cl static test configuration has been executing those tests
since the "--env PATH=%{lib}" was removed from that test config in
e78223e79e. (For mingw we haven't had a
need to split the test config between shared and static, which means
that the mingw static test config previously ran with --env PATH
needlessly.)

This increases the test coverage for patches like D146398 which
can't be executed in the executor-has-no-bash configs.

Change the default value of the arg.env to an empty array; when we do
pass values to the option, they get passed as an array of strings,
so make sure the variable behaves consistently when no arguments
have been passed.

Differential Revision: https://reviews.llvm.org/D148324
2023-04-27 19:25:59 +03:00
..
benchmarks [libc++abi] Improve performance of __dynamic_cast 2023-03-19 10:04:34 +01:00
cmake [libc++][PSTL] Integrate the headers and add a CI job 2023-04-26 13:11:25 -07:00
docs [libc++][chrono] Adds formatter file_time. 2023-04-27 17:12:59 +02:00
include [libc++][chrono] Adds formatter file_time. 2023-04-27 17:12:59 +02:00
lib [libc++] Remove symbols for a std::allocator_arg & friends from the dylib 2023-04-19 17:27:14 -04:00
src [libc++] Make bsd_locale_fallbacks.h modular and move it into __locale/locale_base_api/ 2023-04-21 05:36:41 +02:00
test [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
utils [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
.clang-format [libc++] Remove _LIBCPP_CONSTEVAL 2023-03-10 09:04:48 -05:00
.clang-tidy [libc++] Enable radability-identifier-naming for local variables and fix any problems 2023-02-11 20:03:53 +01:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml [libc++] Re-apply "Always build c++experimental.a"" 2022-07-19 10:44:19 -04:00
CMakeLists.txt [libc++][PSTL] Integrate the headers and add a CI job 2023-04-26 13:11:25 -07:00
CREDITS.TXT Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00