Ignore:
Timestamp:
Jun 26, 2012 2:28:59 AM (12 years ago)
Author:
nanang
Message:

Close #1523:

  • updated scenarios to work with mod_sipp.py (adding config .py file, etc)
  • integrated mod_sipp.py to runall.py
  • removed uas.xml, as it is similar to recvfrom\100_simple.py (REGISTER+resp 200)
  • renamed scenarios (to allow running these SIPp scenarios without .py file):
    • prack_fork.xml -> uas-prack_fork.xml
    • inv_401_retry_after_100.xml -> uas-inv_401_retry_after_100.xml
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/runall.py

    r3717 r4177  
    5656    tests.append("mod_recvfrom.py scripts-recvfrom/" + f) 
    5757 
     58# Add sipp tests 
     59for f in os.listdir("scripts-sipp"): 
     60    if f.endswith(".xml"): 
     61        tests.append("mod_sipp.py scripts-sipp/" + f) 
     62 
    5863# Filter-out excluded tests 
    5964for pat in excluded_tests: 
     
    104109                        (mod,param) = t.split(None,2) 
    105110                        tname = mod[4:mod.find(".py")] + "_" + \ 
    106                                 param[param.find("/")+1:param.find(".py")] 
     111                                param[param.find("/")+1:param.rfind(".")] 
    107112                        c = "" 
    108113                        if len(sys.argv): 
     
    163168                logname = re.sub("[\\\/]", "_", logname) 
    164169                logname = re.sub("\.py$", ".log", logname) 
     170                logname = re.sub("\.xml$", ".log", logname) 
    165171                logname = "logs/" + logname 
    166172                shutil.move("output.log", logname) 
Note: See TracChangeset for help on using the changeset viewer.