File tree Expand file tree Collapse file tree 5 files changed +4
-2
lines changed Expand file tree Collapse file tree 5 files changed +4
-2
lines changed Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ if [[ "${version_tensorflow_sys_crate}" != "${version_tensorflow_sys_readme}" ]]
4848fi
4949
5050run python3 examples/mobilenetv3/create_model.py
51+ (cd test_resources/library && ./build-test-op)
5152run cargo fmt --all -- --check
5253run cargo test -vv -j 2
5354run cargo test -vv -j 2 --features eager
Original file line number Diff line number Diff line change 1+ * .so
You can’t perform that action at this time.
0 commit comments