We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af91d41 commit 368d6b7Copy full SHA for 368d6b7
python/paddle/fluid/tests/CMakeLists.txt
@@ -1,4 +1,9 @@
1
-set(PYTHON_TESTS_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "python tests directory")
+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
+
7
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
8
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
9
0 commit comments