We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448862f commit f870433Copy full SHA for f870433
src/lib.rs
@@ -2663,12 +2663,10 @@ mod tests {
2663
assert!(get_registered_kernels_for_op("Add").unwrap().len() > 0);
2664
}
2665
2666
+ #[cfg(target_os = "linux")]
2667
#[test]
2668
fn test_library_load() {
2669
// This test is implemented for linux only
- if std::env::consts::OS != "linux" {
2670
- return;
2671
- }
2672
let lib_path = "test_resources/library/test_op.so";
2673
assert!(
2674
std::path::Path::new(lib_path).exists(),
0 commit comments