Changeset 2068
- Timestamp:
- Jun 26, 2008 10:17:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/runall.py
r2059 r2068 2 2 import os 3 3 import sys 4 import time 4 5 5 6 # Usage: … … 14 15 "pyc", 15 16 "scripts-call/150_srtp_2_1", # SRTP optional 'cannot' call SRTP mandatory 17 "scripts-call/301_ice_public_a.py", # Unreliable, proxy returns 408 sometimes 16 18 "scripts-call/301_ice_public_b.py", # Doesn't work because OpenSER modifies SDP 17 19 "scripts-media-playrec/100_resample_lf_8_11.py", # related to clock-rate 11 kHz problem … … 68 70 resume_script="" 69 71 cmdline = "python run.py " + t 70 print "Running " + cmdline 72 t0 = time.time() 73 print "Running " + cmdline + "...", 71 74 ret = os.system(cmdline + " > output.log") 75 t1 = time.time() 72 76 if ret != 0: 73 print "Test " + t + " failed." 77 dur = int(t1 - t0) 78 print " failed!! [" + str(dur) + "s]" 74 79 print "Please see 'output.log' for the test log." 75 80 sys.exit(1) 81 else: 82 dur = int(t1 - t0) 83 print " ok [" + str(dur) + "s]" 76 84 77 85 print "All tests completed successfully"
Note: See TracChangeset
for help on using the changeset viewer.