mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 11:16:38 -05:00
0f07dc95f1
Many of the CI tests have been failing on my M2 Pro mac (Ventura 13.4) when running inside of a vscode terminal (a strange `ENOTTY` error). This modifies the pty-handling code to use libc directly rather than the older pty library that appears mostly unmaintained (outside of @littledivy's fork). As a bonus, this should allow us to run pty tests on the mac CI runner. After this PR, the tests now complete with 100% success on my local machine. Before this PR, I needed to pass `CI=true` to get my local test suite to pass.
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "test_util"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
repository.workspace = true
|
|
|
|
[[bin]]
|
|
name = "test_server"
|
|
path = "src/test_server.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-stream = "0.3.3"
|
|
base64.workspace = true
|
|
console_static_text.workspace = true
|
|
fastwebsockets = { workspace = true, features = ["upgrade"] }
|
|
flate2.workspace = true
|
|
futures.workspace = true
|
|
glob.workspace = true
|
|
hyper = { workspace = true, features = ["server", "http1", "http2", "runtime"] }
|
|
lazy-regex.workspace = true
|
|
libc.workspace = true
|
|
lsp-types.workspace = true
|
|
nix.workspace = true
|
|
once_cell.workspace = true
|
|
os_pipe.workspace = true
|
|
parking_lot.workspace = true
|
|
pretty_assertions.workspace = true
|
|
regex.workspace = true
|
|
reqwest.workspace = true
|
|
ring.workspace = true
|
|
rustls-pemfile.workspace = true
|
|
semver = "=1.0.14"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tar.workspace = true
|
|
tempfile.workspace = true
|
|
tokio.workspace = true
|
|
tokio-rustls.workspace = true
|
|
url.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { workspace = true, features = ["consoleapi", "synchapi", "handleapi", "namedpipeapi", "winbase", "winerror"] }
|