Skip to content

Commit 05167ef

Browse files
guangy10facebook-github-bot
authored andcommitted
Create pytest.ini (#230)
Summary: Pull Request resolved: #230 Cover as many python tests as possible. Reviewed By: mergennachin Differential Revision: D49043130 fbshipit-source-id: 40d7b5cd799abbc858fe586b953507738e8ff052
1 parent 2b0be2a commit 05167ef

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

pytest.ini

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[pytest]
2+
addopts =
3+
# show summary of all tests that did not pass
4+
-rEfX
5+
# Make tracebacks shorter
6+
--tb=native
7+
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
8+
--capture=sys
9+
# don't suppress warnings, but don't shove them all to the end either
10+
-p no:warnings
11+
# explicitly list out tests that are running successfully in oss
12+
# bundled_program/
13+
bundled_program/tests/test_bundle_data.py
14+
bundled_program/tests/test_config.py
15+
bundled_program/tests/test_serialize.py
16+
# exir
17+
exir/backend/test/test_graph_partition.py
18+
exir/backend/test/test_backends_nested.py
19+
exir/backend/test/test_debug_handle_map.py
20+
exir/backend/test/test_delegate_map_builder.py
21+
exir/dialects/edge/test/test_edge_ops.py
22+
exir/dialects/test/test_exir_dialect_ops.py
23+
exir/tests/test_arg_validator.py
24+
exir/tests/test_capture.py
25+
exir/tests/test_delegate.py
26+
exir/tests/test_dim_order_utils.py
27+
exir/tests/test_dynamic_shape_propagation.py
28+
exir/tests/test_error.py
29+
exir/tests/test_experimental.py
30+
exir/tests/test_memory_format_ops_pass.py
31+
exir/tests/test_pass_infra.py
32+
exir/tests/test_tensor.py
33+
exir/tests/test_quant_lowering_custom_backend_pass.py
34+
# kernels/
35+
kernels/prim_ops/test/test_prim_ops.py
36+
kernels/test/test_case_gen.py

0 commit comments

Comments
 (0)