From 2a01756bf364e6637e6f2bb064f860683d244fcd Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Fri, 25 Dec 2020 15:28:00 +0800 Subject: [PATCH] remove duplicate ut names (#29809) --- paddle/fluid/framework/fleet/CMakeLists.txt | 2 +- paddle/fluid/inference/lite/CMakeLists.txt | 2 +- .../inference/lite/{test_engine.cc => test_engine_lite.cc} | 0 python/paddle/fluid/tests/book/CMakeLists.txt | 2 +- .../tests/book/{test_word2vec.py => test_word2vec_book.py} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename paddle/fluid/inference/lite/{test_engine.cc => test_engine_lite.cc} (100%) rename python/paddle/fluid/tests/book/{test_word2vec.py => test_word2vec_book.py} (100%) diff --git a/paddle/fluid/framework/fleet/CMakeLists.txt b/paddle/fluid/framework/fleet/CMakeLists.txt index 106685cdd9d..c774a58e050 100644 --- a/paddle/fluid/framework/fleet/CMakeLists.txt +++ b/paddle/fluid/framework/fleet/CMakeLists.txt @@ -30,4 +30,4 @@ endif(WITH_GLOO) cc_library(heter_wrapper SRCS heter_wrapper.cc DEPS framework_proto device_context heter_service_proto) -cc_test(test_fleet SRCS test_fleet.cc DEPS fleet_wrapper gloo_wrapper fs shell) +cc_test(test_fleet_cc SRCS test_fleet.cc DEPS fleet_wrapper gloo_wrapper fs shell) diff --git a/paddle/fluid/inference/lite/CMakeLists.txt b/paddle/fluid/inference/lite/CMakeLists.txt index 924d273a9fc..2482a691753 100644 --- a/paddle/fluid/inference/lite/CMakeLists.txt +++ b/paddle/fluid/inference/lite/CMakeLists.txt @@ -5,5 +5,5 @@ endif() cc_library(lite_op_teller SRCS op_teller.cc DEPS lite_full_static framework_proto device_context boost xxhash) cc_library(lite_engine SRCS engine.cc DEPS lite_full_static framework_proto ${XPU_DEPS}) cc_library(lite_tensor_utils SRCS tensor_utils.cc DEPS memcpy lite_full_static framework_proto boost device_context ${XPU_DEPS}) -cc_test(test_lite_engine SRCS test_engine.cc DEPS lite_engine protobuf framework_proto glog gtest analysis) +cc_test(test_lite_engine SRCS test_engine_lite.cc DEPS lite_engine protobuf framework_proto glog gtest analysis) cc_test(test_lite_tensor_utils SRCS test_tensor_utils.cc DEPS lite_engine lite_tensor_utils) diff --git a/paddle/fluid/inference/lite/test_engine.cc b/paddle/fluid/inference/lite/test_engine_lite.cc similarity index 100% rename from paddle/fluid/inference/lite/test_engine.cc rename to paddle/fluid/inference/lite/test_engine_lite.cc diff --git a/python/paddle/fluid/tests/book/CMakeLists.txt b/python/paddle/fluid/tests/book/CMakeLists.txt index 2c816a12bd3..8b01c84d1ca 100644 --- a/python/paddle/fluid/tests/book/CMakeLists.txt +++ b/python/paddle/fluid/tests/book/CMakeLists.txt @@ -6,7 +6,7 @@ foreach(src ${TEST_OPS}) py_test(${src} SRCS ${src}.py) set_tests_properties(${src} PROPERTIES FIXTURES_SETUP ${src}_infer_model) endforeach() -set_tests_properties(test_word2vec PROPERTIES TIMEOUT 120) +set_tests_properties(test_word2vec_book PROPERTIES TIMEOUT 120) set_tests_properties(test_recognize_digits PROPERTIES TIMEOUT 120) set_tests_properties(test_image_classification PROPERTIES TIMEOUT 120) set_tests_properties(test_label_semantic_roles PROPERTIES TIMEOUT 120) diff --git a/python/paddle/fluid/tests/book/test_word2vec.py b/python/paddle/fluid/tests/book/test_word2vec_book.py similarity index 100% rename from python/paddle/fluid/tests/book/test_word2vec.py rename to python/paddle/fluid/tests/book/test_word2vec_book.py -- GitLab