Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify the python/paddle/v2/framework/tests/CMakeLists.txt #4044

Merged
merged 2 commits into from
Sep 13, 2017
Merged

simplify the python/paddle/v2/framework/tests/CMakeLists.txt #4044

merged 2 commits into from
Sep 13, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Sep 12, 2017

fix #4028
related #3807

@luotao1 luotao1 requested a review from typhoonzero September 12, 2017 10:45
```
py_test(test_mul_op SRCS test_mul_op.py)
```
无需修改 [`python/paddle/v2/framework/tests/CMakeLists.txt`](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/framework/tests/CMakeLists.txt) 文件,新增的 `test_*.py` 单元测试会被自动加入工程。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉既然是"无需修改",就可以不用再提及这个Cmake文件了。文档的前面应该也有类似的地方。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. 文档前面类似的地方也做了修改。

Copy link
Contributor

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@luotao1 luotao1 merged commit 6d2e87f into PaddlePaddle:develop Sep 13, 2017
@luotao1 luotao1 deleted the pytest_cmake branch September 13, 2017 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

simplify the python/paddle/v2/framework/tests/CMakeLists.txt
2 participants