| Neal Norwitz | 8cc4ef5 | 2006-01-10 07:49:41 +0000 | [diff] [blame] | 1 | This directory only contains tests for outstanding bugs that cause | 
 | 2 | the interpreter to segfault.  Ideally this directory should always | 
 | 3 | be empty.  Sometimes it may not be easy to fix the underlying cause. | 
 | 4 |  | 
 | 5 | Each test should fail when run from the command line: | 
 | 6 |  | 
 | 7 | 	./python Lib/test/crashers/weakref_in_del.py | 
 | 8 |  | 
 | 9 | Each test should have a link to the bug report: | 
 | 10 |  | 
 | 11 | 	# http://python.org/sf/BUG# | 
 | 12 |  | 
 | 13 | Put as much info into a docstring or comments to help determine | 
 | 14 | the cause of the failure.  Particularly note if the cause is | 
 | 15 | system or environment dependent and what the variables are. | 
| Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 16 |  | 
 | 17 | Once the crash is fixed, the test case should be moved into an appropriate | 
 | 18 | test (even if it was originally from the test suite).  This ensures the | 
 | 19 | regression doesn't happen again.  And if it does, it should be easier | 
 | 20 | to track down. |