Skip to content
Permalink
Browse files

Disable deno_core_http_bench_test on win32

  • Loading branch information...
ry committed Mar 15, 2019
1 parent 7a6539a commit 8b4b686e92fc283249fc5923c0f3879ba0a19a64
Showing with 11 additions and 6 deletions.
  1. +7 −4 core/BUILD.gn
  2. +4 −2 tools/test.py
@@ -4,9 +4,15 @@ group("default") {
testonly = true
deps = [
":deno_core_http_bench",
":deno_core_http_bench_test",
":deno_core_test",
]
# TODO(ry) deno_core_http_bench_test has a strange link error on windows.
# disabling for now.
# lld-link: error: <root>: undefined symbol: mainCRTStartup
# lld-link: error: undefined symbol: __CxxFrameHandler3
if (!is_win) {
deps += [ ":deno_core_http_bench_test" ]
}
}

# deno_core does not depend on flatbuffers nor tokio.
@@ -41,9 +47,6 @@ http_bench_extern = [
"$rust_build:tokio",
":deno_core"
]
if (is_win) {
http_bench_extern += [ "$rust_build:winapi" ]
}

rust_executable("deno_core_http_bench") {
source_root = "http_bench.rs"
@@ -92,8 +92,10 @@ def main(argv):

deno_core_http_bench_test = os.path.join(
build_dir, "deno_core_http_bench_test" + executable_suffix)
check_exists(deno_core_http_bench_test)
run([deno_core_http_bench_test])
# Note deno_core_http_bench_test is disabled on win32 at the moment.
if os.name != 'nt':
check_exists(deno_core_http_bench_test)
run([deno_core_http_bench_test])

unit_tests(deno_exe)

0 comments on commit 8b4b686

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.