[llvm] [llvm-lit] Resolve env subcommand required error (PR #98414)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 00:06:43 PDT 2024


================
@@ -1 +1,30 @@
-# RUN: env
+# Check Default Environment
+# RUN: env | FileCheck -check-prefix=CHECK-2-EMPTY %s
----------------
jh7370 wrote:

Please don't use any check prefix ending in `EMPTY`, because FileCheck has an `EMPTY` suffix for checking if a line is completely empty.

https://github.com/llvm/llvm-project/pull/98414


More information about the llvm-commits mailing list