File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed
python/paddle/fluid/tests Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ if(NOT WITH_FLUID_ONLY)
24
24
endif ()
25
25
26
26
add_subdirectory (testing )
27
+ set (PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR} /python/paddle/fluid/tests CACHE INTERNAL "python tests directory" )
27
28
if (NOT MOBILE_INFERENCE AND NOT RPI AND NOT WITH_C_API )
28
29
add_subdirectory (fluid )
29
30
endif ()
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ cc_test(test_paddle_inference_api
61
61
62
62
inference_api_test (test_api_impl SRC api_impl_tester.cc
63
63
ARGS test_word2vec test_image_classification )
64
-
65
- set (PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR} /python/paddle/fluid/tests )
66
64
cc_test (test_analysis_predictor SRCS analysis_predictor_tester.cc DEPS analysis_predictor ${inference_deps} paddle_inference_api
67
65
ARGS --dirname=${PYTHON_TESTS_DIR}/book )
68
66
Original file line number Diff line number Diff line change 1
- set (PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR} /python/paddle/fluid/tests CACHE INTERNAL "python tests directory" )
2
-
3
1
file (GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR} " "test_*.py" )
4
2
string (REPLACE ".py" "" TEST_OPS "${TEST_OPS} " )
5
3
You can’t perform that action at this time.
0 commit comments