Disable libLTO tests when libLTO is not built
authorDerek Schuff <dschuff@google.com>
Wed, 14 Dec 2016 16:20:22 +0000 (16:20 +0000)
committerDerek Schuff <dschuff@google.com>
Wed, 14 Dec 2016 16:20:22 +0000 (16:20 +0000)
commit0c2796dc3660faac2e36c2aa8b13e5cf493c1708
treeaac7430038127b3ded2db9ca06634c20b2f15c1f
parent7bd04e3b2d6a1ba149f773e8553efa2ea3beee61
Disable libLTO tests when libLTO is not built

Summary:
The current test only checks whether ld64 is available, causing tests
to fail when ld64 is avilable but libLTO is not built.

Reviewers: beanz, mehdi_amini

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D27739

llvm-svn: 289662
llvm/test/lit.cfg
llvm/test/lit.site.cfg.in