2025-02-15 10:50:47 -08:00
|
|
|
// Tests that the --test-runtool argument works.
|
2025-02-15 09:19:17 -08:00
|
|
|
|
|
|
|
|
//@ ignore-cross-compile
|
|
|
|
|
//@ aux-bin: doctest-runtool.rs
|
|
|
|
|
//@ compile-flags: --test
|
2025-02-15 10:50:47 -08:00
|
|
|
//@ compile-flags: --test-runtool=auxiliary/bin/doctest-runtool
|
|
|
|
|
//@ compile-flags: --test-runtool-arg=arg1 --test-runtool-arg
|
2025-02-15 09:19:17 -08:00
|
|
|
//@ compile-flags: 'arg2 with space'
|
|
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
|
/// assert_eq!(std::env::var("DOCTEST_RUNTOOL_CHECK"), Ok("xyz".to_string()));
|
|
|
|
|
/// ```
|
|
|
|
|
pub fn main() {}
|