Skip to content

Commit b1bc8af

Browse files
committed
remove binary files from repository
see #390
1 parent 2ab5c39 commit b1bc8af

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2667,10 +2667,10 @@ mod tests {
26672667
fn test_library_load() {
26682668
// This test is not yet implemented for Windows
26692669
let check_path = match std::env::consts::OS {
2670-
"linux" => Some("test_resources/library/linux/test_op.so"),
2670+
// "linux" => Some("test_resources/library/linux/test_op.so"),
26712671
// TODO: The test op needs to be recompiled for macos.
26722672
// "macos" => Some("test_resources/library/macos/test_op.so"),
2673-
_ => None,
2673+
_ => Some("test_resources/library/test_op.so"),
26742674
};
26752675
if let Some(path) = check_path {
26762676
let lib = Library::load(path).unwrap();

test-all

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if [[ "${version_tensorflow_sys_crate}" != "${version_tensorflow_sys_readme}" ]]
4848
fi
4949

5050
run python3 examples/mobilenetv3/create_model.py
51+
(cd test_resources/library && ./build-test-op)
5152
run cargo fmt --all -- --check
5253
run cargo test -vv -j 2
5354
run cargo test -vv -j 2 --features eager

test_resources/library/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.so
-22.9 KB
Binary file not shown.
-13.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)