You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ThreadPool] Fix Windows failures in the AffinityMask unit test (#155614)
These thread pool tests are typed and one was failing due to the setting
of environment variable `LLVM_THREADPOOL_AFFINITYMASK` leaking out of a
previous run of the test. I suspect that this has mainly succeeded
because the tests have run in separate shards.
Also the re-invocation of the unit test with the process affinity mask
set was not actually running the test because `--gtest_filter=` was not
set correctly. This has been fixed.
The use of the test type (TypeParam) in the AsyncBarrier test has been
restored. Without this the typing of these tests would be completely
redundant.
I suspect that some of these unit tests do not work if
`LLVM_ENABLE_THREADS == 0` but that is beyond the scope of this fix.
0 commit comments