Remove test.py, use cargo test as test frontend (#2967)

Fixes #2933
This commit is contained in:
Ryan Dahl 2019-09-19 14:48:05 -04:00 committed by GitHub
parent 1b1ae65a4a
commit 56ac638d93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 545 additions and 414 deletions

View file

@ -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