Fix custom op test failure (#3525)

This commit is contained in:
Changming Sun 2020-04-14 20:36:42 -07:00 committed by GitHub
parent bc9a199b16
commit b63349c8d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<PATH_TYPE, int32_t>(*ort_env, CUSTOM_OP_LIBRARY_TEST_MODEL_URI, inputs, "output", expected_dims_y, expected_values_y, 0, nullptr, lib_name.c_str());