Skip to content

Commit

Permalink
Disable onnx tests on Windows, until they can be fixed.
Browse files Browse the repository at this point in the history
Allows you to do a plain cargo build in the base directory.
  • Loading branch information
hrydgard authored and kali committed Sep 30, 2019
1 parent 2358675 commit 3ec9c50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions harness/onnx-test-suite/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pub fn make_test_file(root: &mut fs::File, tests_set: &str, onnx_tag: &str) {
writeln!(rs, "}}").unwrap();
}

#[cfg(not(target_os = "windows"))]
fn main() {
ensure_onnx_git_checkout();
let out_dir = std::env::var("OUT_DIR").unwrap();
Expand All @@ -87,3 +88,8 @@ fn main() {
}
}
}

#[cfg(target_os = "windows")]
fn main() {
// TODO: Fix these tests for Windows.
}

0 comments on commit 3ec9c50

Please sign in to comment.