Use $GO_EXECUTABLE in Go-based lit tests
authorAndrew Wilkins <axwalk@gmail.com>
Fri, 27 Nov 2015 04:44:51 +0000 (04:44 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Fri, 27 Nov 2015 04:44:51 +0000 (04:44 +0000)
commitb6bbdc0193960d6254bd8bd431ef490b3189da7c
tree94402f63f33af72125d81eaa589d1564307b369c
parent39066cae68f3854364dd9a49af8a1e1852d592cb
Use $GO_EXECUTABLE in Go-based lit tests

Summary:
When running tests, pass the GO_EXECUTABLE CMake
cache variable to llvm-go. The "go" binary may
not be in $PATH, or may be different to the one
passed to CMake.

Reviewers: pcc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D14041

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254187 91177308-0d34-0410-b5e6-96231b3b80d8
test/lit.cfg