[llvm] [llvm-lit] Resolve env subcommand required error (PR #98414)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 10:46:20 PDT 2024
================
@@ -34,9 +34,9 @@
# CHECK: --
# CHECK: PASS: shtest-env :: env-args-none.txt ({{[^)]*}})
-# CHECK: env
+# CHECK: env | {{.*}}
# CHECK: # executed command: env
-# CHECK-NOT: {{^[^#]}}
+# CHECK-NOT: {{^[^#]}} | {{.*}}
----------------
Harini0924 wrote:
I understand your concern about the CHECK-NOT case. To keep things consistent, I've updated the checks to cover all the executed commands for env-args-none.txt. This way, we maintain uniformity across all tests and ensure we don't miss any potential issues. By checking all the commands, we can be more confident that the tests are more accurate. Additionally, we can still use `# CHECK-NOT: {{^[^#]}}`.
https://github.com/llvm/llvm-project/pull/98414
More information about the llvm-commits
mailing list