mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 07:46:08 +00:00

On Windows you can not create symlinks without elevated privileges unless you have Windows developer mode enabled. There's ~67 libcxx tests that run into failures on windows if your environment is not set up correctly (Go to windows settings and enable "developer mode"). This change: - Adds a feature check for whether the host can create symlinks. (see libcxx/utils/libcxx/test/features.py) - Mark the feature as required for the 67 tests that hit failures on windows due to this. This will allow lit to correctly mark these tests as unsupported instead of unexpectedly failed (this is helpful since then you know you didn't break something with your change, it's just that it's not supported with your environment).