mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 11:07:32 +00:00
14 lines
409 B
Rust
14 lines
409 B
Rust
// Tests that the --test-runtool argument works.
|
|
|
|
//@ ignore-cross-compile
|
|
//@ aux-bin: doctest-runtool.rs
|
|
//@ compile-flags: --test
|
|
//@ compile-flags: --test-runtool=auxiliary/bin/doctest-runtool
|
|
//@ compile-flags: --test-runtool-arg=arg1 --test-runtool-arg
|
|
//@ compile-flags: 'arg2 with space'
|
|
|
|
/// ```
|
|
/// assert_eq!(std::env::var("DOCTEST_RUNTOOL_CHECK"), Ok("xyz".to_string()));
|
|
/// ```
|
|
pub fn main() {}
|