[nfc][analyzer][test][z3] Replace "REQUIRES: no-z3" with "UNSUPPORTED: z3"#184349
Merged
[nfc][analyzer][test][z3] Replace "REQUIRES: no-z3" with "UNSUPPORTED: z3"#184349
Conversation
…: z3" Fixing D120325, continuing llvm#183724 Lit feature "no-z3" is the opposite of "z3", requiring "no-z3" is the same as unsupporting "z3".
Member
|
@llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ella Ma (Snape3058) ChangesFixing D120325, continuing #183724 Lit feature "no-z3" is the opposite of "z3", requiring "no-z3" is the same as unsupporting "z3". Full diff: https://github.com/llvm/llvm-project/pull/184349.diff 2 Files Affected:
diff --git a/clang/test/Analysis/missing-z3-nocrash.c b/clang/test/Analysis/missing-z3-nocrash.c
index 698430fffe1a1..2e345ad00f5ab 100644
--- a/clang/test/Analysis/missing-z3-nocrash.c
+++ b/clang/test/Analysis/missing-z3-nocrash.c
@@ -1,5 +1,5 @@
// RUN: not %clang_analyze_cc1 -analyzer-constraints=z3 %s 2>&1 | FileCheck %s
-// REQUIRES: no-z3
+// UNSUPPORTED: z3
// CHECK: error: analyzer constraint manager 'z3' is only available if LLVM
// CHECK: was built with -DLLVM_ENABLE_Z3_SOLVER=ON
diff --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py
index 6796c64fc4778..14fefbf0d5424 100644
--- a/clang/test/lit.cfg.py
+++ b/clang/test/lit.cfg.py
@@ -224,8 +224,6 @@ def have_host_clang_repl_cuda():
config.available_features.add("z3")
if config.clang_staticanalyzer_z3_mock:
config.available_features.add("z3-mock")
- else:
- config.available_features.add("no-z3")
check_analyzer_fixit_path = os.path.join(
config.test_source_root, "Analysis", "check-analyzer-fixit.py"
|
steakhal
approved these changes
Mar 4, 2026
sahas3
pushed a commit
to sahas3/llvm-project
that referenced
this pull request
Mar 4, 2026
…: z3" (llvm#184349) Fixing D120325, continuing llvm#183724 Lit feature "no-z3" is the opposite of "z3", requiring "no-z3" is the same as unsupporting "z3".
sujianIBM
pushed a commit
to sujianIBM/llvm-project
that referenced
this pull request
Mar 5, 2026
…: z3" (llvm#184349) Fixing D120325, continuing llvm#183724 Lit feature "no-z3" is the opposite of "z3", requiring "no-z3" is the same as unsupporting "z3".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixing D120325, continuing #183724
Lit feature "no-z3" is the opposite of "z3", requiring "no-z3" is the same as unsupporting "z3".