summaryrefslogtreecommitdiff
path: root/tests/pjsua/runall.py
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-12-29 14:52:29 +0000
committerBenny Prijono <bennylp@teluu.com>2008-12-29 14:52:29 +0000
commitb18d5bc1e43b4c47f6433a608dfb625b2e7edf8d (patch)
tree73c01cb9653af155ae800b945b50256e0bde0dcf /tests/pjsua/runall.py
parent171a8b0b492a96d1e4d3368f4605f4b6e3c6749d (diff)
Added --list argument to list tests in runall.py, and fixed build.mak location error due to moving test directory last time
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2398 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/runall.py')
-rw-r--r--tests/pjsua/runall.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pjsua/runall.py b/tests/pjsua/runall.py
index 4785fdec..3eb1a6d4 100644
--- a/tests/pjsua/runall.py
+++ b/tests/pjsua/runall.py
@@ -57,6 +57,12 @@ for f in os.listdir("scripts-recvfrom"):
for pat in excluded_tests:
tests = [t for t in tests if t.find(pat)==-1]
+# List the tests only?
+if len(sys.argv)==2 and sys.argv[1]=="--list":
+ for t in tests:
+ print t
+ sys.exit(0)
+
# Resume test?
resume_script=""
if len(sys.argv) > 1: