[PATCH] D14041: Use $GO_EXECUTABLE in Go-based lit tests

Andrew Wilkins via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 20:47:39 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL254187: Use $GO_EXECUTABLE in Go-based lit tests (authored by axw).

Changed prior to commit:
  http://reviews.llvm.org/D14041?vs=38297&id=41280#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14041

Files:
  llvm/trunk/test/lit.cfg

Index: llvm/trunk/test/lit.cfg
===================================================================
--- llvm/trunk/test/lit.cfg
+++ llvm/trunk/test/lit.cfg
@@ -240,6 +240,8 @@
        'LLVM_ENABLE_MACHINE_VERIFIER' in os.environ and
        os.environ['LLVM_ENABLE_MACHINE_VERIFIER'] == "1"):
         tool_path += " -verify-machineinstrs"
+    if (tool_name == "llvm-go"):
+        tool_path += " go=" + config.go_executable
     return tool_name, tool_path, tool_pipe
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14041.41280.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151127/06ef83fe/attachment.bin>


More information about the llvm-commits mailing list