Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
threads-sendsync
/
test-tasks-invalid-value.rs
blob: 127086743ca82c926dc016a9456e80413eba00fb [
file
] [
log
] [
blame
] [
edit
]
// This checks that RUST_TEST_THREADS not being 1, 2, ... is detected
// properly.
//@ run-fail
//@ error-pattern:should be a positive integer
//@ compile-flags: --test
//@ exec-env:RUST_TEST_THREADS=foo
//@ needs-threads
#[
test
]
fn
do_nothing
()
{}