Skip to content

Commit 6b4056b

Browse files
authored
Merge pull request #14014 from JiabinYang/inference_model_mac
this will fix the inference model not found problem
2 parents 23da8de + 2b2630f commit 6b4056b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

python/paddle/fluid/tests/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
if(NOT APPLE)
2-
set(PYTHON_TESTS_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "python tests directory")
3-
else()
4-
set(PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR}/python/paddle/fluid/tests)
5-
endif(NOT APPLE)
1+
set(PYTHON_TESTS_DIR ${PADDLE_BINARY_DIR}/python/paddle/fluid/tests CACHE INTERNAL "python tests directory")
62

73
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
84
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")

0 commit comments

Comments
 (0)