mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 08:25:01 +01:00
17 lines
361 B
Rust
17 lines
361 B
Rust
use anyhow::{ensure, Result};
|
|
use std::process::Command;
|
|
|
|
#[test]
|
|
#[ignore = "FIXME: Make this not cursed."]
|
|
#[cfg(not(unix))]
|
|
fn full_tests() -> Result<()> {
|
|
todo!()
|
|
}
|
|
|
|
#[test]
|
|
#[cfg(unix)]
|
|
fn full_tests() -> Result<()> {
|
|
let status = Command::new("cargo").arg("runtest").spawn()?.wait()?;
|
|
ensure!(status.success(), "runtest failed");
|
|
Ok(())
|
|
}
|