Added test duration in runall.py output, and add public ICE in excluded tests

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2068 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/test-pjsua/runall.py b/pjsip-apps/src/test-pjsua/runall.py
index 479e598..5c74339 100644
--- a/pjsip-apps/src/test-pjsua/runall.py
+++ b/pjsip-apps/src/test-pjsua/runall.py
@@ -1,6 +1,7 @@
 # $Id$
 import os
 import sys
+import time
 
 # Usage:
 #  runall.py [test-to-resume]
@@ -13,6 +14,7 @@
 excluded_tests = [ "svn",
 		   "pyc",
 		   "scripts-call/150_srtp_2_1",				# SRTP optional 'cannot' call SRTP mandatory
+		   "scripts-call/301_ice_public_a.py",			# Unreliable, proxy returns 408 sometimes
 		   "scripts-call/301_ice_public_b.py",			# Doesn't work because OpenSER modifies SDP
 		   "scripts-media-playrec/100_resample_lf_8_11.py",	# related to clock-rate 11 kHz problem
 		   "scripts-media-playrec/100_resample_lf_8_22.py",	# related to clock-rate 22 kHz problem
@@ -67,11 +69,17 @@
 	    continue
 	resume_script=""
 	cmdline = "python run.py " + t
-	print "Running " + cmdline
+	t0 = time.time()
+	print "Running " + cmdline + "...",
 	ret = os.system(cmdline + " > output.log")
+	t1 = time.time()
 	if ret != 0:
-		print "Test " + t + " failed."
+		dur = int(t1 - t0)
+		print " failed!! [" + str(dur) + "s]"
 		print "Please see 'output.log' for the test log."
 		sys.exit(1)
+	else:
+		dur = int(t1 - t0)
+		print " ok [" + str(dur) + "s]"
 
 print "All tests completed successfully"