[lld] Patch to incorporate lld test-suite into "make check-all"

Hi,

Attached is a patch which incorporates the lld test-suite into llvm's "make check-all" if lld is built within llvm. Please could someone review this for me.

I've hand-amended the patch so that it should be easier to review. The majority of the patch is simply changing the indent once inside and else()/endif() block. Beyond that, I've standardised the test target name to "check-lld", but retained the legacy "lld-test" target.

Regards
Andy

lld-tests.diff (3.53 KB)