Big archive writer operation is not currently supported so mark these tests XFAIL for now.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The problem is whether there are other tests using "big archive" and needing XFAIL: system-aix (FWIW I think UNSUPPORTED is more appropriate).
llvm/test/Object and llvm/test/tools/llvm-ar have a dozen archive writer tests. If they all need UNSUPPORTED: system-aix, that's too much of a churn.
The patch D122746 XFAILed the archive writer tests in llvm/test/Object and llvm/test/tools/llvm-ar, but it missed the 5 tests in this patch. There aren't any other tests that need to be dealt with at the moment. I agree UNSUPPORTED probably makes more sense, but I was trying to be consistent with the other patch.
I considered this when reviewing, but I actually think XFAIL is better, because there are reasonably near term plans to implement the functionality. Marking as UNSUPPORTED would mean the tests won't start XPASSing at that point, meaning they may never be run for the new format, even though they should be.
That being said, for tests not testing the archiver, but rather testing a different tool, you should instead use the explicit --format option, so that they continue working on AIX. Note that this is what the original patch did.
In that case, I can post a patch to use --format instead for the tests not testing the archiver.
llvm/test/tools/llvm-link/archive.ll llvm/test/tools/llvm-lipo/create-archive-input.test llvm/test/tools/llvm-objcopy/MachO/universal-object.test