Skip to content

Commit 368d6b7

Browse files
committed
test=develop
1 parent af91d41 commit 368d6b7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

python/paddle/fluid/tests/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
set(PYTHON_TESTS_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "python tests directory")
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)
6+
27
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
38
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
49

0 commit comments

Comments
 (0)