[llvm] [MLGO] Add pytype test (PR #79558)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 12:23:51 PST 2024


================
@@ -0,0 +1,4 @@
+# REQUIRES: system-linux, has-pytype
+
+# RUN: pytype %S/../mlgo
+# RUN: pytype %S/../tests
----------------
boomanaiden154 wrote:

That's only if we run `FileCheck`. Here we don't need to because we don't care about the command output, only the return code. If it's not zero, lit will fail the test.

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


More information about the llvm-commits mailing list