未验证 提交 fbb54046 编写于 作者: C chengduo 提交者: GitHub

fix test_parallel_executor_seresnex timeout (#15812)

test=develop
上级 9656852c
...@@ -113,12 +113,11 @@ py_test_modules(test_ir_memory_optimize_transformer MODULES test_ir_memory_optim ...@@ -113,12 +113,11 @@ py_test_modules(test_ir_memory_optimize_transformer MODULES test_ir_memory_optim
endif() endif()
if(NOT APPLE) if(NOT APPLE)
py_test_modules(test_image_classification_resnet MODULES test_image_classification_resnet SERIAL) py_test_modules(test_image_classification_resnet MODULES test_image_classification_resnet SERIAL)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# change the timeout from 600 to 1200, because in debug mode, this test need more time.
set_tests_properties(test_image_classification_resnet PROPERTIES TIMEOUT 1200)
endif()
endif() endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# change the timeout from 600 to 1200, because in debug mode, this test need more time.
set_tests_properties(test_parallel_executor_seresnext PROPERTIES TIMEOUT 1200)
endif()
if (WITH_NGRAPH) if (WITH_NGRAPH)
add_subdirectory(ngraph) add_subdirectory(ngraph)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册