未验证 提交 73203758 编写于 作者: Y YUNSHEN XIE 提交者: GitHub

remove test_hapi_hub from mac (#37246)

* remove test_hapi_hub from mac

* fix format error
上级 3328eb03
...@@ -8,6 +8,10 @@ foreach(TEST_OP ${DIST_TEST_OPS}) ...@@ -8,6 +8,10 @@ foreach(TEST_OP ${DIST_TEST_OPS})
list(REMOVE_ITEM TEST_OPS ${TEST_OP}) list(REMOVE_ITEM TEST_OPS ${TEST_OP})
endforeach() endforeach()
if(NOT WITH_COVERAGE)
LIST(REMOVE_ITEM TEST_OPS test_hapi_hub)
endif()
foreach(src ${TEST_OPS}) foreach(src ${TEST_OPS})
py_test(${src} SRCS ${src}.py) py_test(${src} SRCS ${src}.py)
endforeach() endforeach()
...@@ -49,8 +53,6 @@ set_tests_properties(test_vision_models PROPERTIES TIMEOUT 120) ...@@ -49,8 +53,6 @@ set_tests_properties(test_vision_models PROPERTIES TIMEOUT 120)
set_tests_properties(test_dataset_uci_housing PROPERTIES TIMEOUT 120) set_tests_properties(test_dataset_uci_housing PROPERTIES TIMEOUT 120)
set_tests_properties(test_dataset_imdb PROPERTIES TIMEOUT 300) set_tests_properties(test_dataset_imdb PROPERTIES TIMEOUT 300)
set_tests_properties(test_pretrained_model PROPERTIES TIMEOUT 600) set_tests_properties(test_pretrained_model PROPERTIES TIMEOUT 600)
set_tests_properties(test_hapi_hub PROPERTIES TIMEOUT 300) if(WITH_COVERAGE)
set_tests_properties(test_hapi_hub PROPERTIES TIMEOUT 300)
if(NOT WITH_COVERAGE)
LIST(REMOVE_ITEM TEST_OPS test_hapi_hub)
endif() endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册