Expand Shadowsocks runtime compatibility
This commit is contained in:
parent
d1638726ca
commit
4d1f589280
167 changed files with 57173 additions and 1640 deletions
18
third_party/rustls-fork-shadow-tls/tests/bogo.rs
vendored
Normal file
18
third_party/rustls-fork-shadow-tls/tests/bogo.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// Runs the bogo test suite, in the form of a rust test.
|
||||
// Note that bogo requires a golang environment to build
|
||||
// and run.
|
||||
|
||||
#[test]
|
||||
#[cfg(all(coverage, feature = "quic", feature = "dangerous_configuration"))]
|
||||
fn run_bogo_tests() {
|
||||
use std::process::Command;
|
||||
|
||||
let rc = Command::new("./runme")
|
||||
.current_dir("../bogo")
|
||||
.spawn()
|
||||
.expect("cannot run bogo/runme")
|
||||
.wait()
|
||||
.expect("cannot wait for bogo");
|
||||
|
||||
assert!(rc.success(), "bogo exited non-zero");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue