summaryrefslogtreecommitdiff
path: root/tools/setup.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-19 14:48:05 -0400
committerGitHub <noreply@github.com>2019-09-19 14:48:05 -0400
commit56ac638d93c96712d6c624e60dcfa4540d334b18 (patch)
treeb3b5b985cc5be83545d8883207ee614f23627ef8 /tools/setup.py
parent1b1ae65a4a2acd55ead86c17e388f10a0e08938d (diff)
Remove test.py, use cargo test as test frontend (#2967)
Fixes #2933
Diffstat (limited to 'tools/setup.py')
-rwxr-xr-xtools/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/setup.py b/tools/setup.py
index aef65924d..b6c8cac92 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -127,9 +127,9 @@ def generate_gn_args(mode):
if "DENO_BUILD_ARGS" in os.environ:
out += os.environ["DENO_BUILD_ARGS"].split()
- cacher = third_party.get_prebuilt_tool_path("sccache")
+ cacher = find_executable("sccache")
if not os.path.exists(cacher):
- cacher = find_executable("sccache") or find_executable("ccache")
+ cacher = third_party.get_prebuilt_tool_path("sccache")
# Check if ccache or sccache are in the path, and if so we set cc_wrapper.
cc_wrapper = cacher