17db96d56Sopenharmony_ciThis directory only contains tests for outstanding bugs that cause the
27db96d56Sopenharmony_ciinterpreter to segfault.  Ideally this directory should always be empty, but
37db96d56Sopenharmony_cisometimes it may not be easy to fix the underlying cause and the bug is deemed
47db96d56Sopenharmony_citoo obscure to invest the effort.
57db96d56Sopenharmony_ci
67db96d56Sopenharmony_ciEach test should fail when run from the command line:
77db96d56Sopenharmony_ci
87db96d56Sopenharmony_ci	./python Lib/test/crashers/weakref_in_del.py
97db96d56Sopenharmony_ci
107db96d56Sopenharmony_ciPut as much info into a docstring or comments to help determine the cause of the
117db96d56Sopenharmony_cifailure, as well as a bugs.python.org issue number if it exists.  Particularly
127db96d56Sopenharmony_cinote if the cause is system or environment dependent and what the variables are.
137db96d56Sopenharmony_ci
147db96d56Sopenharmony_ciOnce the crash is fixed, the test case should be moved into an appropriate test
157db96d56Sopenharmony_ci(even if it was originally from the test suite).  This ensures the regression
167db96d56Sopenharmony_cidoesn't happen again.  And if it does, it should be easier to track down.
177db96d56Sopenharmony_ci
187db96d56Sopenharmony_ciAlso see Lib/test_crashers.py which exercises the crashers in this directory.
197db96d56Sopenharmony_ciIn particular, make sure to add any new infinite loop crashers to the black
207db96d56Sopenharmony_cilist so it doesn't try to run them.
21