Attribute Macro test_with::runtime_phy_cpu_core
source · #[runtime_phy_cpu_core]Expand description
Run test case when physical core enough
// write as example in examples/*rs
test_with::runner!(resource);
#[test_with::module]
mod resource {
// Only works with enough physical cpu core
#[test_with::runtime_phy_cpu_core(32)]
fn test_ignored_phy_core_not_enough() {
panic!("should be ignored")
}
}