Currently, most Mach-O tests fail when executed on a big-endian host. This is because the Mach-O back-end does not perform the necessary byte swaps when accessing the (little-endian) binary file format.
To fix this properly would either require use of the various swapStruct routines from the BinaryFormat/MachO.h header, or else a re-write of those headers to use ulittle32 etc. data types.
For now, simply consider all Mach-O tests unsupported on big-endian hosts (specifically, SystemZ), to enable running the test suite at all on such hosts.
How about using the existing host-byteorder-little-endian/host-byteorder-big-endian?
either adding this:
or just checking "host-byteorder-little-endian" in config.available_features ?