Changeset 4177 for pjproject/trunk/tests/pjsua/runall.py
- Timestamp:
- Jun 26, 2012 2:28:59 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/tests/pjsua/runall.py
r3717 r4177 56 56 tests.append("mod_recvfrom.py scripts-recvfrom/" + f) 57 57 58 # Add sipp tests 59 for f in os.listdir("scripts-sipp"): 60 if f.endswith(".xml"): 61 tests.append("mod_sipp.py scripts-sipp/" + f) 62 58 63 # Filter-out excluded tests 59 64 for pat in excluded_tests: … … 104 109 (mod,param) = t.split(None,2) 105 110 tname = mod[4:mod.find(".py")] + "_" + \ 106 param[param.find("/")+1:param. find(".py")]111 param[param.find("/")+1:param.rfind(".")] 107 112 c = "" 108 113 if len(sys.argv): … … 163 168 logname = re.sub("[\\\/]", "_", logname) 164 169 logname = re.sub("\.py$", ".log", logname) 170 logname = re.sub("\.xml$", ".log", logname) 165 171 logname = "logs/" + logname 166 172 shutil.move("output.log", logname)
Note: See TracChangeset
for help on using the changeset viewer.