test_with

Attribute Macro phy_core

Source
#[phy_core]
Expand description

Run test case when physical cpu core enough

#[cfg(test)]
mod tests {

    // Only works with enough cpu core
    #[test_with::phy_core(32)]
    #[test]
    fn test_ignored() {
        panic!("should be ignored")
    }
}