Skip to content

Commit fc0c194

Browse files
committed
test=release/1.1
1 parent 1ea0195 commit fc0c194

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

paddle/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if(NOT WITH_FLUID_ONLY)
2424
endif()
2525

2626
add_subdirectory(testing)
27+
set(PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR}/python/paddle/fluid/tests CACHE INTERNAL "python tests directory")
2728
if(NOT MOBILE_INFERENCE AND NOT RPI AND NOT WITH_C_API)
2829
add_subdirectory(fluid)
2930
endif()

paddle/fluid/inference/api/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ cc_test(test_paddle_inference_api
6161

6262
inference_api_test(test_api_impl SRC api_impl_tester.cc
6363
ARGS test_word2vec test_image_classification)
64-
65-
set(PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR}/python/paddle/fluid/tests)
6664
cc_test(test_analysis_predictor SRCS analysis_predictor_tester.cc DEPS analysis_predictor ${inference_deps} paddle_inference_api
6765
ARGS --dirname=${PYTHON_TESTS_DIR}/book)
6866

python/paddle/fluid/tests/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set(PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR}/python/paddle/fluid/tests CACHE INTERNAL "python tests directory")
2-
31
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
42
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
53

0 commit comments

Comments
 (0)