summaryrefslogtreecommitdiff
path: root/tests/pjsua/runall.py
diff options
context:
space:
mode:
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: