未验证 提交 0fd2f713 编写于 作者: T Tao Luo 提交者: GitHub

Merge pull request #12548 from Superjomn/bugfix/disable-anakin-test

Bugfix/disable anakin test
...@@ -74,9 +74,10 @@ if (WITH_ANAKIN) # only needed in CI ...@@ -74,9 +74,10 @@ if (WITH_ANAKIN) # only needed in CI
target_link_libraries(inference_anakin_api anakin anakin_saber_common) target_link_libraries(inference_anakin_api anakin anakin_saber_common)
target_link_libraries(inference_anakin_api_shared anakin anakin_saber_common) target_link_libraries(inference_anakin_api_shared anakin anakin_saber_common)
if (WITH_TESTING) if (WITH_TESTING)
cc_test(inference_anakin_test SRCS api_anakin_engine_tester.cc # this test is unstable, disable it first.
ARGS --model=${ANAKIN_INSTALL_DIR}/mobilenet_v2.anakin.bin #cc_test(inference_anakin_test SRCS api_anakin_engine_tester.cc
DEPS inference_anakin_api_shared) #ARGS --model=${ANAKIN_INSTALL_DIR}/mobilenet_v2.anakin.bin
target_compile_options(inference_anakin_test BEFORE PUBLIC ${ANAKIN_COMPILE_EXTRA_FLAGS}) #DEPS inference_anakin_api_shared)
#target_compile_options(inference_anakin_test BEFORE PUBLIC ${ANAKIN_COMPILE_EXTRA_FLAGS})
endif(WITH_TESTING) endif(WITH_TESTING)
endif() endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册