-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[Test] Disable Linux perf test under WSL #137822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. The uname detection is a little fragile because you can use custom kernels with WSL, but this handles the most common case.
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/15928 Here is the relevant piece of the build log for the reference
|
Linux perf_events is not implemented in WSL1, skip the test that requires it.
There is just a single test that requires perf_events. It fails under WSL1 with:
WSL environment detection logic follows https://github.com/scivision/detect-windows-subsystem-for-linux/blob/main/is_wsl.py
Also see WSL issue: microsoft/WSL#4595