-
Notifications
You must be signed in to change notification settings - Fork 5.9k
【paddle_test No.37】replace cc_test with paddle_test #62035
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
Closed
Closed
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3ddd110
mv floder and cc2paddle
Liyulingyue a83f8be
update cmakelist
Liyulingyue 4b9c190
Update CMakeLists.txt
Liyulingyue ae399d4
Merge branch 'develop' into C37
Liyulingyue 78402c4
Update CMakeLists.txt
Liyulingyue 4769679
Apply suggestions from code review
Liyulingyue 2cc3bac
add test_API
Liyulingyue 8f84ff6
Merge branch 'PaddlePaddle:develop' into C37
Liyulingyue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,25 @@ | ||
| add_subdirectory(device) | ||
| add_subdirectory(profiler) | ||
|
|
||
| paddle_test(errors_test SRCS errors_test.cc) | ||
|
|
||
| paddle_test(enforce_test SRCS enforce_test.cc DEPS enforce common external_error_proto) | ||
|
|
||
| paddle_test(cpu_info_test SRCS cpu_info_test.cc DEPS common) | ||
| paddle_test(os_info_test SRCS os_info_test.cc DEPS common) | ||
|
|
||
| cc_test( | ||
| place_test | ||
| SRCS place_test.cc | ||
| DEPS place glog phi common) | ||
|
|
||
| cc_test( | ||
| cpu_helper_test | ||
| SRCS cpu_helper_test.cc | ||
| DEPS cpu_helper) | ||
|
|
||
| if(WITH_ONNXRUNTIME AND WIN32) | ||
| # Copy onnxruntime for some c++ test in Windows, since the test will | ||
| # be build only in CI, so suppose the generator in Windows is Ninja. | ||
| copy_onnx(errors_test) | ||
| endif() | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.