From b63349c8d6374ff7986587cdc6f57e4473f72069 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 14 Apr 2020 20:36:42 -0700 Subject: [PATCH] Fix custom op test failure (#3525) --- onnxruntime/test/shared_lib/test_inference.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/test/shared_lib/test_inference.cc b/onnxruntime/test/shared_lib/test_inference.cc index 51294e5dc0..38d060743a 100644 --- a/onnxruntime/test/shared_lib/test_inference.cc +++ b/onnxruntime/test/shared_lib/test_inference.cc @@ -346,7 +346,7 @@ TEST(CApiTest, DISABLED_test_custom_op_library) { #elif defined(__APPLE__) lib_name = "libcustom_op_library.dylib"; #else - lib_name = "libcustom_op_library.so"; + lib_name = "./libcustom_op_library.so"; #endif TestInference(*ort_env, CUSTOM_OP_LIBRARY_TEST_MODEL_URI, inputs, "output", expected_dims_y, expected_values_y, 0, nullptr, lib_name.c_str());