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 unit test by paddle_test_util static lib #1059

Closed
tianbingsz opened this issue Jan 3, 2017 · 1 comment
Closed

simplify unit test by paddle_test_util static lib #1059

tianbingsz opened this issue Jan 3, 2017 · 1 comment
Assignees

Comments

@tianbingsz
Copy link
Contributor

We need to simplify unit test a little bit by adding paddle_test_util static lib. This is a supporting work to #1003 and #1009

The possible gains could be:

  1. For example, in add paddle functions for Matrix ContextProjection APIs #1009,
    add_unittest(ContextProjectionOpTest
    ContextProjectionOpTest.cpp
    ../gserver/tests/TestUtil.cpp)
    could be simplified as add_simple_unittest(ContextProjectionOpTest).

  2. In gserver/tests/CMakeLists.txt, we could remove the dependency of TestUtil.cpp in many unit tests.

@tianbingsz tianbingsz self-assigned this Jan 3, 2017
@tianbingsz
Copy link
Contributor Author

Please refer to PR #1058

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

No branches or pull requests

1 participant