File: workspace_deps.rs

package info (click to toggle)
rust-proc-macro-crate 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: makefile: 2
file content (18 lines) | stat: -rw-r--r-- 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::{path::PathBuf, process::Command};

#[ignore = "broken"]
#[test]
fn workspace_deps_working() {
    let manifest_dir =
        PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/workspace_deps/Cargo.toml");

    assert!(Command::new("cargo")
        .arg("build")
        .arg("--all")
        .arg(format!("--manifest-path={}", manifest_dir.display()))
        .spawn()
        .unwrap()
        .wait()
        .unwrap()
        .success());
}