[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #142948)
Rainer Orth via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 26 01:04:17 PDT 2025
================
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+# UNSUPPORTED: !libclang-loadable
+
+# Tests fail on Windows, and need someone knowledgeable to fix.
+# It's not clear whether it's a test or a valid binding problem.
+# XFAIL: target={{.*windows.*}}
----------------
rorth wrote:
I suspected something like that initially, but the problem with the `llvm-clang-x86_64-sie-win` buildbot is different: the build logs show
```
LLVM host triple: x86_64-pc-windows-msvc
LLVM default target triple: x86_64-sie-ps5
```
so this is the first instance of a cross-build. I found that `lit` already has a `native` feature that can be used here, which would resolve `FIXME: Handle CMAKE_CROSSCOMPILING.` in `bindings.sh`: just use
```
XFAIL: !native
```
I've never tried a cross-build of `clang`, so I'd really appreciate if someone with such a setup in place could try this.
https://github.com/llvm/llvm-project/pull/142948
More information about the cfe-commits
mailing list