about summary refs log tree commit diff
path: root/tests/ui/compiletest-self-test/test-aux-bin.rs
blob: 9ac17e6e1461963d53bc32539c21cd31c056697d (plain)
1
2
3
4
5
6
7
8
9
10
//@ ignore-cross-compile because aux-bin does not yet support it
//@ ignore-remote because aux-bin does not yet support it
//@ aux-bin: print-it-works.rs
//@ run-pass

fn main() {
    let stdout =
        std::process::Command::new("auxiliary/bin/print-it-works").output().unwrap().stdout;
    assert_eq!(stdout, b"it works\n");
}