[NFC][analyzer][test][z3] Move test cases requiring Z3 to the Analysis/z3/ subdirectory#183724
[NFC][analyzer][test][z3] Move test cases requiring Z3 to the Analysis/z3/ subdirectory#183724
Analysis/z3/ subdirectory#183724Conversation
…is/z3/` subdirectory Addressing llvm#181581, continuing llvm#183034 This enables executing all test cases with the `REQUIRES: z3` tag via the `check-clang-analysis-z3` target.
|
@llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ella Ma (Snape3058) ChangesAddressing #181581, continuing #183034 This enables executing all test cases with the Full diff: https://github.com/llvm/llvm-project/pull/183724.diff 8 Files Affected:
diff --git a/clang/test/Analysis/PR37855.c b/clang/test/Analysis/z3/PR37855.c
similarity index 100%
rename from clang/test/Analysis/PR37855.c
rename to clang/test/Analysis/z3/PR37855.c
diff --git a/clang/test/Analysis/bitint-z3.c b/clang/test/Analysis/z3/bitint-z3.c
similarity index 100%
rename from clang/test/Analysis/bitint-z3.c
rename to clang/test/Analysis/z3/bitint-z3.c
diff --git a/clang/test/Analysis/cstring-addrspace.c b/clang/test/Analysis/z3/cstring-addrspace.c
similarity index 100%
rename from clang/test/Analysis/cstring-addrspace.c
rename to clang/test/Analysis/z3/cstring-addrspace.c
diff --git a/clang/test/Analysis/unary-sym-expr-z3-refutation.c b/clang/test/Analysis/z3/unary-sym-expr-z3-refutation.c
similarity index 100%
rename from clang/test/Analysis/unary-sym-expr-z3-refutation.c
rename to clang/test/Analysis/z3/unary-sym-expr-z3-refutation.c
diff --git a/clang/test/Analysis/z3-crosscheck-max-attempts.cpp b/clang/test/Analysis/z3/z3-crosscheck-max-attempts.cpp
similarity index 100%
rename from clang/test/Analysis/z3-crosscheck-max-attempts.cpp
rename to clang/test/Analysis/z3/z3-crosscheck-max-attempts.cpp
diff --git a/clang/test/Analysis/z3-crosscheck.c b/clang/test/Analysis/z3/z3-crosscheck.c
similarity index 99%
rename from clang/test/Analysis/z3-crosscheck.c
rename to clang/test/Analysis/z3/z3-crosscheck.c
index 8cbe7dd2975d0..41ecaee5529e0 100644
--- a/clang/test/Analysis/z3-crosscheck.c
+++ b/clang/test/Analysis/z3/z3-crosscheck.c
@@ -4,7 +4,7 @@
void clang_analyzer_dump(float);
-int foo(int x)
+int foo(int x)
{
int *z = 0;
if ((x & 1) && ((x & 1) ^ 1))
diff --git a/clang/test/Analysis/z3-refute-enum-crash.cpp b/clang/test/Analysis/z3/z3-refute-enum-crash.cpp
similarity index 100%
rename from clang/test/Analysis/z3-refute-enum-crash.cpp
rename to clang/test/Analysis/z3/z3-refute-enum-crash.cpp
diff --git a/clang/test/Analysis/z3-unarysymexpr.c b/clang/test/Analysis/z3/z3-unarysymexpr.c
similarity index 100%
rename from clang/test/Analysis/z3-unarysymexpr.c
rename to clang/test/Analysis/z3/z3-unarysymexpr.c
|
|
Are the files on the list correct? Besides, when I was working on this PR, I found that |
I like the move, but I didn't get what you are saying here. Where is the logic adding the |
So these properties that We can move the
AFAIK nothing. They are practically the same. |
The
The explanation above is also why I did not move this file: when building the
I will do this for |
I didn't know about this build target. I think your judgment and decisions are correct and makes sense. |
Makes sense to do it separately, yes. |
|
I believe you have commit access, right? |
|
@steakhal, I resigned from that list last year. Maybe I should apply for it again. |
I'm looking for you coming back one day :) |
…: z3" Fixing D120325, continuing llvm#183724 Lit feature "no-z3" is the opposite of "z3", requiring "no-z3" is the same as unsupporting "z3".
…is/z3/` subdirectory (llvm#183724) Addressing llvm#181581, continuing llvm#183034 This enables executing all test cases with the `REQUIRES: z3` tag via the `check-clang-analysis-z3` target.
…is/z3/` subdirectory (llvm#183724) Addressing llvm#181581, continuing llvm#183034 This enables executing all test cases with the `REQUIRES: z3` tag via the `check-clang-analysis-z3` target.
…: 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".
…is/z3/` subdirectory (llvm#183724) Addressing llvm#181581, continuing llvm#183034 This enables executing all test cases with the `REQUIRES: z3` tag via the `check-clang-analysis-z3` target.
…: 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".
Addressing #181581, continuing #183034
This enables executing all test cases with the
REQUIRES: z3tag via thecheck-clang-analysis-z3target.