mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
This PR adds enforcement of testing header only APIs. The benefit of torch/header_only_apis.txt is twofold: 1) this gives us a clear view of what we expect to be header only 2) this allows us to enforce testing The enforcement added in this PR is very basic--we literally string match that a symbol in `torch/header_only_apis.txt` is in a cpp test. This is meant to be a first step in verifying our APIs are properly tested and can get fancier over time. For now, I've added myself as a codeowner to learn what to look out for in terms of proper tests. Over time, I anticipate we can automate more steps, but right now let's just get something out the door. Pull Request resolved: https://github.com/pytorch/pytorch/pull/153635 Approved by: https://github.com/albanD ghstack dependencies: #153965 |
||
|---|---|---|
| .. | ||
| docstring_linter_testdata | ||
| header_only_linter_testdata | ||
| heuristics | ||
| set_linter_testdata | ||
| gen_operators_yaml_test.py | ||
| gen_oplist_test.py | ||
| linter_test_case.py | ||
| test_cmake.py | ||
| test_codegen_model.py | ||
| test_codegen.py | ||
| test_create_alerts.py | ||
| test_docstring_linter.py | ||
| test_executorch_custom_ops.py | ||
| test_executorch_gen.py | ||
| test_executorch_signatures.py | ||
| test_executorch_types.py | ||
| test_executorch_unboxing.py | ||
| test_gen_backend_stubs.py | ||
| test_header_only_linter.py | ||
| test_selective_build.py | ||
| test_set_linter.py | ||
| test_test_run.py | ||
| test_test_selections.py | ||
| test_upload_stats_lib.py | ||
| test_upload_test_stats.py | ||
| test_utils.py | ||
| test_vulkan_codegen.py | ||