Changeset 794

Show
Ignore:
Timestamp:
07/07/07 19:17:28 (1 year ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r793 r794  
    1  
    2 2007-07-03  A.D.F  <adefacc@tin.it> 
     12007-07-07  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * qa/run-tests.py, qa/help.py (help_print_parameters): Added a 
     4        help message and a new parameter -h. 
     5 
     62007-07-07  A.D.F  <adefacc@tin.it> 
    37 
    48        * cherokee/connection.c 
  • cherokee/trunk/qa/run-tests.py

    r793 r794  
    2121from base import * 
    2222from conf import * 
     23from help import * 
    2324 
    2425# Configuration parameters 
     
    3738fcgi     = True 
    3839log      = False 
     40help     = False 
    3941 
    4042server   = CHEROKEE_PATH 
     
    6668# Process the parameters 
    6769for p in param: 
     70    print p 
    6871    if   p     == '-c': clean    = False 
    6972    elif p     == '-k': kill     = False 
     
    7477    elif p     == '-b': nobody   = True 
    7578    elif p     == '-l': log      = True 
     79    elif p     == '-h': help     = True 
    7680    elif p[:2] == '-n': num      = int(p[2:]) 
    7781    elif p[:2] == '-t': thds     = int(p[2:]) 
     
    8185    elif p[:2] == '-e': server   = p[2:] 
    8286    elif p[:2] == '-v': valgrind = p[2:] 
     87    else: 
     88        help = True 
     89 
     90# Print help 
     91if help: 
     92    help_print_parameters() 
     93    sys.exit(1) 
    8394 
    8495# Fix up pause