[PATCH] D149270: [LLD][MachO] Do not run Mach-O tests on big-endian hosts
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 13:13:48 PDT 2023
oontvoo added inline comments.
================
Comment at: lld/test/MachO/lit.local.cfg:8-9
+# on little-endian host systems. Skip all tests on big-endian hosts.
+if 's390x' in config.host_triple:
+ config.unsupported = True
+
----------------
How about using the existing `host-byteorder-little-endian`/`host-byteorder-big-endian`?
either adding this:
```
REQUIRES: host-byteorder-little-endian
```
or just checking `"host-byteorder-little-endian" in config.available_features` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149270/new/
https://reviews.llvm.org/D149270
More information about the llvm-commits
mailing list