Changeset 1741

Show
Ignore:
Timestamp:
08/05/08 19:08:36 (5 months ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r1740 r1741  
     12008-08-05  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * qa/run-tests.py, qa/conf.py: Adds dtruss support (additionally 
     4        to the previous strace support). 
     5 
    162008-08-05  Taher Shihadeh <taher@unixwars.com> 
    27 
  • cherokee/trunk/qa/conf.py

    r1375 r1741  
    1212 
    1313STRACE_PATH       = "/usr/bin/strace" 
     14DTRUSS_PATH       = "/usr/bin/dtruss" 
    1415VALGRIND_PATH     = "/usr/bin/valgrind" 
    1516PYTHON_PATH       = "auto" 
  • cherokee/trunk/qa/run-tests.py

    r1738 r1741  
    250250                os.execl (VALGRIND_PATH, "valgrind", "--leak-check=full", "--num-callers=40", "-v", "--leak-resolution=high", server, "-C", cfg_file) 
    251251        elif strace: 
    252             os.execl (STRACE_PATH, "strace", server, "-C", cfg_file)             
     252            if sys.platform.startswith('darwin') or 
     253               sys.platform.startswith('sunos'): 
     254                os.execl (DTRUSS_PATH, "dtruss", server, "-C", cfg_file) 
     255            else: 
     256                os.execl (STRACE_PATH, "strace", server, "-C", cfg_file)             
    253257        else: 
    254258            name = server[server.rfind('/') + 1:]