diff options
author | Andrew Wilkins <axwalk@gmail.com> | 2015-11-27 04:51:13 +0000 |
---|---|---|
committer | Andrew Wilkins <axwalk@gmail.com> | 2015-11-27 04:51:13 +0000 |
commit | 572fe6e95eb51755c85db11503b3070b6b54fb29 (patch) | |
tree | 409be8441e6b272ef59f91ef58accaa98aae3ab2 | |
parent | b7394b22fd7ba13345b792b2d028461b457efbb4 (diff) | |
download | bcm5719-llvm-572fe6e95eb51755c85db11503b3070b6b54fb29.tar.gz bcm5719-llvm-572fe6e95eb51755c85db11503b3070b6b54fb29.zip |
test: check if go_executable is set
llvm-svn: 254189
-rw-r--r-- | llvm/test/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 7e80a7f94a7..cc4c169dbdd 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -240,7 +240,7 @@ def find_tool_substitution(pattern): 'LLVM_ENABLE_MACHINE_VERIFIER' in os.environ and os.environ['LLVM_ENABLE_MACHINE_VERIFIER'] == "1"): tool_path += " -verify-machineinstrs" - if (tool_name == "llvm-go"): + if (tool_name == "llvm-go" and config.go_executable is not None): tool_path += " go=" + config.go_executable return tool_name, tool_path, tool_pipe |