rust/tests/rustdoc/doctest/doctest-runtool.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
427 B
Rust
Raw Normal View History

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