Skip to content

[clang][modules-driver] Further constrain import-std test - #194604

Merged
naveen-seth merged 1 commit into
llvm:mainfrom
naveen-seth:remove-import-std-test
Apr 28, 2026
Merged

[clang][modules-driver] Further constrain import-std test#194604
naveen-seth merged 1 commit into
llvm:mainfrom
naveen-seth:remove-import-std-test

Conversation

@naveen-seth

Copy link
Copy Markdown
Contributor

The root cause for the failing test was found in #194475 (comment).
The test uses --target=x86_64-linux-gnu which is only available with -DLLVM_TARGETS_TO_BUILD=all or on native x86 targets.

The root cause for the failing test was found in
llvm#194475 (comment).
The test uses --target=x86_64-linux-gnu which is only available with
-DLLVM_TARGETS_TO_BUILD=all or on native x86 targets.
@naveen-seth
naveen-seth requested a review from rorth April 28, 2026 12:29
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' labels Apr 28, 2026
@llvmbot

llvmbot commented Apr 28, 2026

Copy link
Copy Markdown
Member

@llvm/pr-subscribers-clang

@llvm/pr-subscribers-clang-driver

Author: Naveen Seth Hanig (naveen-seth)

Changes

The root cause for the failing test was found in #194475 (comment).
The test uses --target=x86_64-linux-gnu which is only available with -DLLVM_TARGETS_TO_BUILD=all or on native x86 targets.


Full diff: https://github.com/llvm/llvm-project/pull/194604.diff

1 Files Affected:

  • (modified) clang/test/Driver/modules-driver-import-std.cpp (+1-2)
diff --git a/clang/test/Driver/modules-driver-import-std.cpp b/clang/test/Driver/modules-driver-import-std.cpp
index 394b0dc8d95d3..3a51cab0406b2 100644
--- a/clang/test/Driver/modules-driver-import-std.cpp
+++ b/clang/test/Driver/modules-driver-import-std.cpp
@@ -1,8 +1,7 @@
 // Checks that -fmodules-driver correctly handles the import of Standard library
 // modules.
 
-// https://github.com/llvm/llvm-project/pull/194475#issuecomment-4331347690
-// UNSUPPORTED: target={{.*}}aarch64{{.*}}, {{.*}}arm64{{.*}}
+// REQUIRES: x86-registered-target
 
 // The standard library modules manifest (libc++.modules.json) is discovered
 // relative to the installed C++ standard library runtime libraries

@naveen-seth

Copy link
Copy Markdown
Contributor Author

Sorry for the breakage! I think this should fully fix it now.

@naveen-seth
naveen-seth merged commit cd95096 into llvm:main Apr 28, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants