[llvm] [llvm-lit][test] Precommit tests for lit's built-in cat command (PR #101530)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 12:21:13 PDT 2024


================
@@ -0,0 +1,8 @@
+import lit.formats
+
+config.name = "shtest-cat"
+config.suffixes = [".txt"]
+config.test_format = lit.formats.ShTest()
+config.test_source_root = None
+config.test_exec_root = None
+config.substitutions.append(("%{python}", '"%s"' % (sys.executable)))
----------------
ilovepi wrote:

Are you using python? If not, please remove.

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


More information about the llvm-commits mailing list