Changeset 60

Show
Ignore:
Timestamp:
Mon Jun 5 21:31:08 2006
Author:
jpellerin
Message:

r1448@Jason-Pellerins-Computer: jhp | 2006-06-05 21:28:00 -0500
Add -x short option for --stop. Thanks Max Ischenko for the suggestion.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/0.9-stable/nose/core.py

    r58 r60  
    287 287                       default=env.get('NOSE_PDB_FAILURES'),  
    288 288                       help="Drop into debugger on failures")  
    289       parser.add_option("--stop", action="store_true", dest="stopOnError",  
      289     parser.add_option("-x", "--stop", action="store_true", dest="stopOnError",  
    289 289                       default=env.get('NOSE_STOP'),  
    290 290                       help="Stop running tests after the first error or "  
     
    300 300                       default=not env.get('NOSE_INCLUDE_EXE'),  
    301 301                       help="Look for tests in python modules that are "  
    302                         "executable [NOSE_INCLUDE_EXE]")  
      302                       "executable. Normal behavior is to exclude executable "  
      303                       "modules, since they may not be import-safe "  
      304                       "[NOSE_INCLUDE_EXE]")  
    303 305      
    304 306     # add opts from plugins