permits running of gold unit tests when targeting only x86
Diff Detail
Event Timeline
FYI -- this is the first patch I've submitted to LLVM, so please bear with me as I learn the procedures (if I'm making any mistakes, please let me know). Thanks --NM
I think the right thing to do here is to split test/tools/gold into two directories (X86 and PowerPC) with a separate lit.local.cfg in each. See for example how the test/LTO directory is set up.
split test/tools/gold into two directories
That sounds like a good suggestion. I'll see about revising the patch...
Sorry for the delay.
I don't seem to be able to apply this:
$ git apply -p0 ~/Downloads/D12322.diff
error: test/tools/gold/PowerPC/lit.local.cfg: No such file or directory
error: test/tools/gold/X86/lit.local.cfg: No such file or directory
$ patch -p0 < ~/Downloads/D12322.diff
Index: test/tools/gold/PowerPC/lit.local.cfg |
=================================================================== |
--- test/tools/gold/PowerPC/lit.local.cfg |
+++ test/tools/gold/PowerPC/lit.local.cfg |
Can you try emailing a git produced patch directly. Phabricator has
the bad habit of mangling patches.
Cheers,
Rafael