We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1eceec commit 748e940Copy full SHA for 748e940
src/tools/compiletest/src/command-list.rs
@@ -125,6 +125,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
125
"needs-dlltool",
126
"needs-dynamic-linking",
127
"needs-enzyme",
128
+ "needs-enzyme-disabled",
129
"needs-force-clang-based-tests",
130
"needs-git-hash",
131
"needs-llvm-components",
src/tools/compiletest/src/header/needs.rs
@@ -84,6 +84,11 @@ pub(super) fn handle_needs(
84
condition: config.has_enzyme,
85
ignore_reason: "ignored when LLVM Enzyme is disabled",
86
},
87
+ Need {
88
+ name: "needs-enzyme-disabled",
89
+ condition: !config.has_enzyme,
90
+ ignore_reason: "ignored when LLVM Enzyme is enabled",
91
+ },
92
Need {
93
name: "needs-run-enabled",
94
condition: config.run_enabled(),
0 commit comments