[llvm] [lit] Implement builtin umask (PR #94621)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 05:48:49 PDT 2024
================
@@ -0,0 +1,18 @@
+# Check the umask command
+
+# RUN: not %{lit} -a -v %{inputs}/shtest-umask | FileCheck -match-full-lines %s
+
+# CHECK: -- Testing: 3 tests{{.*}}
+
+# CHECK-LABEL: FAIL: shtest-umask :: umask-bad-arg.txt ({{[^)]*}})
+# CHECK: umask bad
+# CHECK: # | Error: 'umask': invalid literal {{.*}}
+
+# CHECK-LABEL: FAIL: shtest-umask :: umask-too-many-args.txt ({{[^)]*}})
+# CHECK: umask 0 0
+# CHECK: # | 'umask' supports only one argument
+
+# CHECK: Total Discovered Tests: 3
+# CHECK: {{Passed|Unresolved}}: 1 {{\([0-9]*\.[0-9]*%\)}}
----------------
jayfoad wrote:
I see, thanks, it runs `ninja check-clang check-clang-tools check-lld check-llvm check-mlir check-polly` but that does not include `check-lit` :-(
https://github.com/llvm/llvm-project/pull/94621
More information about the llvm-commits
mailing list