[llvm] [llvm-lit] Resolve env subcommand required error (PR #98414)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 11:12:51 PDT 2024
================
@@ -9,35 +9,35 @@
# CHECK: -- Testing: 16 tests{{.*}}
-# CHECK: FAIL: shtest-env :: env-args-last-is-assign.txt ({{[^)]*}})
+# CHECK: PASS: shtest-env :: env-args-last-is-assign.txt ({{[^)]*}})
# CHECK: env FOO=1
# CHECK: # executed command: env FOO=1
-# CHECK: # | Error: 'env' requires a subcommand
-# CHECK: # error: command failed with exit status: {{.*}}
+# CHECK-NOT: {{^[^#]}}
+# CHECK: --
----------------
arichardson wrote:
Is this on the next line, if so we can simplify these passing tests using `CHECK-NEXT: --` instead of the CHECK-NOT: followed by CHECK.
https://github.com/llvm/llvm-project/pull/98414
More information about the llvm-commits
mailing list