Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[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

Merged
merged 1 commit into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 4 llvm/test/ExecutionEngine/JITLink/x86-64/ELF_perf.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# REQUIRES: native && x86_64-linux

# Linux perf not supported by Windows Kernel's Linux syscall emulation layer
# https://github.com/microsoft/WSL/issues/4595
# UNSUPPORTED: wsl1

# FIXME: Investigate why broken with MSAN
# UNSUPPORTED: msan

Expand Down
7 changes: 7 additions & 0 deletions 7 llvm/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,13 @@ def version_int(ver):
# Others/can-execute.txt
config.available_features.add("can-execute")

# Detect Windows Subsystem for Linux (WSL)
uname_r = platform.uname().release
if uname_r.endswith("-Microsoft"):
config.available_features.add("wsl1")
elif uname_r.endswith("microsoft-standard-WSL2"):
config.available_features.add("wsl2")

# Loadable module
if config.has_plugins:
config.available_features.add("plugins")
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.