Changeset 2051
- Timestamp:
- Jun 25, 2008 3:05:21 PM (16 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/test-pjsua
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/mod_media_playrec.py
r2036 r2051 21 21 # WAV similarity calculator 22 22 COMPARE_WAV_EXE = "tools/cmp_wav.exe" 23 24 # Threshold to declare degradation is too high when result is lower than this value 25 COMPARE_THRESHOLD = 2 23 26 24 27 # UserData … … 87 90 # Evaluate the similarity value 88 91 sim_val = mo_sim_val.group(1) 89 if (sim_val > 0):92 if (sim_val >= COMPARE_THRESHOLD): 90 93 endpt.trace("WAV similarity = " + sim_val) 91 94 else: 92 raise TestError(" Degraded WAV heavily distorted")95 raise TestError("WAV degraded heavily, similarity = " + sim_val) 93 96 94 97 -
pjproject/trunk/pjsip-apps/src/test-pjsua/runall.py
r2033 r2051 13 13 excluded_tests = [ "svn", 14 14 "pyc", 15 #"scripts-call/150_srtp_1_2", 16 "scripts-call/150_srtp_2_1" 15 "scripts-call/150_srtp_2_1", # SRTP optional 'cannot' call SRTP mandatory 16 "scripts-media-playrec/100_resample_lf_8_11.py", # related to clock-rate 11 kHz problem 17 "scripts-media-playrec/100_resample_lf_8_22.py", # related to clock-rate 22 kHz problem 18 "scripts-media-playrec/100_resample_lf_11" # related to clock-rate 11 kHz problem 17 19 ] 18 20 … … 32 34 for f in os.listdir("scripts-sendto"): 33 35 tests.append("mod_sendto.py scripts-sendto/" + f) 36 37 # Add mod_media_playrec tests 38 for f in os.listdir("scripts-media-playrec"): 39 tests.append("mod_media_playrec.py scripts-media-playrec/" + f) 40 41 # Add mod_pesq tests 42 for f in os.listdir("scripts-pesq"): 43 tests.append("mod_pesq.py scripts-pesq/" + f) 34 44 35 45 # Filter-out excluded tests
Note: See TracChangeset
for help on using the changeset viewer.