mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
parent
d91c775f36
commit
989262fe6e
21
.travis.yml
21
.travis.yml
@ -46,18 +46,15 @@ script:
|
|||||||
RUSTFLAGS="-Z sanitizer=thread" \
|
RUSTFLAGS="-Z sanitizer=thread" \
|
||||||
cargo test -p tokio-timer --test hammer --target x86_64-unknown-linux-gnu
|
cargo test -p tokio-timer --test hammer --target x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
# TODO: Uncomment the sanitizer tests once the fence in steal issue is
|
# === tokio-threadpool ====
|
||||||
# resolved: https://github.com/tokio-rs/tokio/issues/329
|
|
||||||
#
|
# Run address sanitizer
|
||||||
# # === tokio-threadpool ====
|
RUSTFLAGS="-Z sanitizer=address" \
|
||||||
#
|
cargo test -p tokio-threadpool --tests --target x86_64-unknown-linux-gnu
|
||||||
# # Run address sanitizer
|
|
||||||
# RUSTFLAGS="-Z sanitizer=address" \
|
# Run thread sanitizer
|
||||||
# cargo test -p tokio-threadpool --tests
|
RUSTFLAGS="-Z sanitizer=thread" \
|
||||||
#
|
cargo test -p tokio-threadpool --tests --target x86_64-unknown-linux-gnu
|
||||||
# # Run thread sanitizer
|
|
||||||
# RUSTFLAGS="-Z sanitizer=thread" \
|
|
||||||
# cargo test -p tokio-threadpool --tests
|
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
set -e
|
set -e
|
||||||
|
@ -19,7 +19,7 @@ categories = ["concurrency", "asynchronous"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
tokio-executor = { version = "0.1.2", path = "../tokio-executor" }
|
tokio-executor = { version = "0.1.2", path = "../tokio-executor" }
|
||||||
futures = "0.1.19"
|
futures = "0.1.19"
|
||||||
crossbeam-deque = "0.6.0"
|
crossbeam-deque = "0.6.1"
|
||||||
crossbeam-utils = "0.5.0"
|
crossbeam-utils = "0.5.0"
|
||||||
num_cpus = "1.2"
|
num_cpus = "1.2"
|
||||||
rand = "0.5"
|
rand = "0.5"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user